Registration scheme for network

ABSTRACT

A coupled data network with a system for registering end systems is disclosed. A foreign network includes a foreign mobile switching center and a foreign base station. The foreign mobile switching center includes a serving registration server, the foreign base station includes a foreign access hub, and the foreign access hub includes a proxy registration agent. A home network includes a home mobile switching center with a home registration server. A first end system subscribes to the home network and operates within the foreign network. The end system includes an end registration agent, the end registration agent being coupled to the proxy registration agent, the proxy registration agent being coupled to the serving registration server, and the serving registration server being coupled to the home registration server.

BACKGROUND OF THE INVENTION

Priority benefit of the Oct. 14, 1997 filing date of provisionalapplication serial No. 60/061,915 is hereby claimed.

FIELD OF THE INVENTION

The present invention relates to a coupled data network, and moreparticularly to a registration system in the coupled data network.

DESCRIPTION OF RELATED ART

FIG. 1 depicts three business entities, whose equipment, workingtogether typically provide remote internet access to user computers 2through user modems 4. User computers 2 and modems 4 constitute endsystems.

The first business entity is the telephone company (telco) that owns andoperates the dial-up plain old telephone system (POTS) or integratedservices data network (ISDN) network. The telco provides the media inthe form of public switched telephone network (PSTN) 6 over which bits(or packets) can flow between users and the other two business entities.

The second business entity is the internet service provider (ISP). TheISP deploys and manages one or more points of presence (POPs) 8 in itsservice area to which end users connect for network service. An ISPtypically establishes a POP in each major local calling area in whichthe ISP expects to subscribe customers. The POP converts message trafficfrom the PSTN run by the telco into a digital form to be carried overintranet backbone 10 owned by the ISP or leased from an intranetbackbone provider like MCI, Inc. An ISP typically leases fractional orfull T1 lines or fractional or full T3 lines from the telco forconnectivity to the PSTN. The POPs and the ISP's medium data center 14are connected together over the intranet backbone through router 12A.The data center houses the ISP's web servers, mail servers, accountingand registration servers, enabling the ISP to provide web content,e-mail and web hosting services to end users. Future value addedservices may be added by deploying additional types of servers in thedata center. The ISP also maintains router 12A to connect to publicinternet backbone 20. In the current model for remote access, end usershave service relationships with their telco and their ISP and usuallyget separate bills from both. End users access the ISP, and through theISP, public internet 20, by dialing the nearest POP and running acommunication protocol known as the Internet Engineering Task Force(IETF) point-to-point protocol (PPP).

The third business entity is the private corporation which owns andoperates its own private intranet 18 through router 12B for businessreasons. Corporate employees may access corporate network 18 (e.g., fromhome or while on the road) by making POTS/ISDN calls to corporate remoteaccess server 16 and running the IETF PPP protocol. For corporateaccess, end users only pay for the cost of connecting to corporateremote access server 16. The ISP is not involved. The privatecorporation maintains router 12B to connect an end user to eithercorporate intranet 18 or public internet 20 or both.

End users pay the telco for the cost of making phone calls and for thecost of a phone line into their home. End users also pay the ISP foraccessing the ISP's network and services. The present invention willbenefit wireless service providers like Sprint PCS, PrimeCo, etc. andbenefit internet service providers like AOL, AT&T Worldnet, etc.

Today, internet service providers offer internet access services, webcontent services, e-mail services, content hosting services and roamingto end users. Because of low margins and no scope of doing marketsegmentation based on features and price, ISPs are looking for valueadded services to improve margins. In the short term, equipment vendorswill be able to offer solutions to ISPs to enable them to offer fasteraccess, virtual private networking (which is the ability to use publicnetworks securely as private networks and to connect to intranets),roaming consortiums, push technologies and quality of service. In thelonger term, voice over internet and mobility will also be offered. ISPswill use these value added services to escape from the low marginstraitjacket. Many of these value added services fall in the category ofnetwork services and can be offered only through the networkinfrastructure equipment. Others fall in the category of applicationservices which require support from the network infrastructure, whileothers do not require any support from the network infrastructure.Services like faster access, virtual private networking, roaming,mobility, voice, quality of service, quality of service based accountingall need enhanced network infrastructure. The system described here willbe either directly provide these enhanced services or provide hooks sothat these services can be added later as future enhancements. Wirelessservice providers will be able to capture a larger share of the revenuestream. The ISP will be able to offer more services and with bettermarket segmentation.

SUMMARY OF THE INVENTION

The present invention provide end users with remote wireless access tothe public internet, private intranets and internet service providers.Wireless access is provided through base stations in a home network andbase stations in foreign networks with interchange agreements.

It is an object of the present system to provide a wireless packetswitched data network for end users that divides mobility managementinto local, micro, macro and global connection handover categories andminimizes handoff updates according to the handover category. It isanother object to integrate MAC handoff messages with network handoffmessages. It is a further object of the present system to separatelydirect registration functions to a registration server and directrouting functions to inter-working function units. It is yet anotherobject to provide an intermediate XTunnel channel between a wireless hub(also called access hub AH) and an inter-working function unit (IWFunit) in a foreign network. It is yet another object to provide anIXTunnel channel between an inter-working function unit in a foreignnetwork and an inter-working function unit in a home network. It is yetanother object to enhance the layer two tunneling protocol (L2TP) tosupport a mobile end system. It is yet another object to perform networklayer registration before the start of a PPP communication session.

According to one embodiment of the present invention, a coupled datanetwork with a system of registering end systems is disclosed. Thecoupled data network includes a foreign network and a home network. Theforeign network includes a foreign mobile switching center and a foreignbase station, the foreign mobile switching center including a servingregistration server, the foreign base station including a foreign accesshub, the foreign access hub including a proxy registration agent. Thehome network includes a home mobile switching center with a homeregistration server. A first end system is a subscriber to the homenetwork and operates within the foreign network. The end system includesan end registration agent, the end registration agent being coupled tothe proxy registration agent, the proxy registration agent being coupledto the serving registration server, the serving registration serverbeing coupled to the home registration server.

According to another embodiment of the present invention, a data networkwith a home network that includes a home mobile switching center with ahome registration server is disclosed. A first mobile end system is asubscriber to the home network and operates within the foreign network.The first mobile end system includes an end registration agent, the endregistration agent being coupled to the proxy registration agent, theproxy registration agent being coupled to the serving registrationserver, the serving registration server being coupled to the homeregistration server.

BRIEF DESCRIPTION OF DRAWINGS

The system will be described in detail in the following description ofpreferred embodiments with reference to the following figures wherein:

FIG. 1 is a configuration diagram of a known remote access architecturethrough a public switched telephone network;

FIG. 2 is a configuration diagram of a remote access architecturethrough a wireless packet switched data network according to the presentinvention;

FIG. 3 is a configuration diagram of selected parts of the architectureof the network of FIG. 2 showing a roaming scenario;

FIG. 4 is a configuration diagram of a base station with local accesspoints;

FIG. 5 is a configuration diagram of a base station with remote accesspoints;

FIG. 6 is a configuration diagram of a base station with remote accesspoints, some of which are connected using a wireless trunk connection;

FIG. 7 is a diagram of a protocol stack for a local access point;

FIG. 8 is a diagram of a protocol stack for a remote access point with awireless trunk;

FIG. 9 is a diagram of a protocol stack for a relay function in the basestation for supporting remote access points with wireless trunks;

FIG. 10 is a diagram of protocol stacks for implementing the relayfunction depicted in FIG. 9;

FIG. 11 is a diagram of protocol stacks for a relay function in the basestation for supporting local access points;

FIG. 12 is a configuration diagram of selected parts of the architectureof the network of FIG. 2 showing a first end system registering in thehome network from the home network and a second system registering inthe home network from a foreign network using a home inter-workingfunction for an anchor;

FIG. 13 is a configuration diagram of selected parts of the architectureof the network of FIG. 2 showing a first end system registering in thehome network from the home network and a second system registering inthe home network from a foreign network using a serving inter-workingfunction for an anchor;

FIG. 14 is a ladder diagram of the request and response messages toregister in a home network from a foreign network and to establish,authenticate and configure a data link;

FIG. 15 is a configuration diagram of selected parts of the architectureof the network of FIG. 2 showing registration requests and responses forregistering a mobile in a home network from the home network;

FIG. 16 is a configuration diagram of selected parts of the architectureof the network of FIG. 2 showing registration requests and responses forregistering a mobile in a home network from a foreign network;

FIG. 17 is a configuration diagram of protocol stacks showingcommunications between an end system in a home network and aninter-working function in the home network where the cell site has localaccess points;

FIG. 18 is a configuration diagram of protocol stacks showingcommunications between an end system in a home network and aninter-working function in the home network where the cell site hasremote access points coupled to a wireless hub through a wireless trunk;

FIG. 19 is a configuration diagram of protocol stacks showingcommunications between a base station coupled to a roaming end systemand a home inter-working function;

FIG. 20 is a configuration diagram of protocol stacks showingcommunications between an end system in a home network through aninter-working function in the home network to an internet serviceprovider;

FIG. 21 is a configuration diagram of protocol stacks showingcommunications between an end system in a foreign network and a homeregistration server in a home network during the registration phase;

FIG. 22 is a processing flow diagram showing the processing ofaccounting data through to the customer billing system;

FIGS. 23 and 24 are ladder diagrams depicting the registration processfor an end system in a home network and in a foreign network,respectively;

FIGS. 25 and 26 are protocol stack diagrams depicting an end systemconnection in a home network where a PPP protocol terminates in aninter-working function of the home network and where the PPP protocolterminates in an ISP or intranet, respectively;

FIGS. 27 and 28 are protocol stack diagrams depicting an end systemconnection in a foreign network where a PPP protocol terminates in aninter-working function of the foreign network and where the PPP protocolterminates in an ISP or intranet, respectively;

FIG. 29 illustrates end systems connected via ethernet to a wirelessmodem where PPP protocol is encapsulated in an ethernet frame;

FIG. 30 illustrates an ethernet frame format;

FIG. 31 illustrates XWD Header fields;

FIG. 32 illustrates end systems connected via a local area network to awireless router where PPP protocol terminates at the wireless router;

FIGS. 33, 34 and 35 are ladder diagrams depicting a local handoffscenario, a micro handoff scenario and a macro handoff scenario,respectively;

FIG. 36 is a ladder diagram depicting a global handoff scenario wherethe foreign registration server changes and where home inter-workingfunction does not change; and

FIG. 37 is a ladder diagram depicting a global handoff scenario whereboth the foreign registration server and the home inter-working functionchange.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

The present system provides computer users with remote access to theinternet and to private intranets using virtual private network servicesover a high speed, packet switched, wireless data link. These users areable to access the public internet, private intranets and their internetservice providers over a wireless link. The network supports roaming,that is, the ability to access the internet and private intranets usingvirtual private network services from anywhere that the services offeredby the present system are available. The network also supports handoffs,that is, the ability to change the point of attachment of the user tothe network without disturbing the PPP link between the PPP client andthe PPP server. The network targets users running horizontal internetand intranet applications. These applications include electronic mail,file transfer, browser based WWW access and other business applicationsbuilt around the internet. Because the network will be based on the IETFstandards, it is possible to run streaming media protocols like RTP andconferencing protocols like H.323 over it.

Other internet remote access technologies that are already deployed orare in various stages of deployment include: wire line dial-up accessbased on POTS and ISDN, XDSL access, wireless circuit switched accessbased on GSM/CDMA/TDMA, wireless packet switched access based onGSM/CDMA/TDMA, cable modems, and satellite based systems. However, thepresent system offers a low cost of deployment, ease of maintenance, abroad feature set, scaleability, an ability to degrade gracefully underheavy load conditions and support for enhanced network services likevirtual private networking, roaming, mobility and quality of service tothe relative benefit of users and service providers.

For wireless service providers who own personal communications system(PCS) spectrum, the present system will enable them to offer wirelesspacket switched data access services that can compete with servicesprovided by the traditional wire line telcos who own and operate thePSTN. Wireless service providers may also decide to become internetservice providers themselves, in which case, they will own and operatethe whole network and provide end to end services to users.

For internet service providers the present system will allow them toby-pass the telcos (provided they purchase or lease the spectrum) andoffer direct end to end services to users, perhaps saving access chargesto the telcos, which may increase in the future as the internet grows tobecome even bigger than it is now.

The present systems flexible so that it can benefit wireless serviceproviders who are not internet service providers and who just provideISP, internet or private intranet access to end users. The system canalso benefit service providers who provide wireless access and internetservices to end users. The system can also benefit service providers whoprovide wireless access and internet services but also allow thewireless portion of the network to be used for access to other ISPs orto private intranets.

In FIG. 2, end systems 32 (e.g., based on, for example, Win 95 personalcomputer) connect to wireless network 30 using external or internalmodems. These modems allow end systems to send and receive medium accesscontrol (MAC) frames over air link 34. External modems attach to the PCvia a wired or wireless link. External modems are fixed, and, forexample, co-located with roof top mounted directional antennae. Externalmodems may be connected to the user's PC using any one of followingmeans: 802.3, universal serial bus, parallel port, infra-red, or even anISM radio link. Internal modems are preferably PCMCIA cards for laptopsand are plugged into the laptop's backplane. Using a smallomni-directional antenna, they send and receive MAC frames over the airlink. End systems can also be laptops with a directional antenna, afixed wireless station in a home with a directional antenna connectedvia AC lines, and other alternatives.

Wide-area wireless coverage is provided by base stations 36. The basestation 36 can employ a 5-channel reuse communication scheme asdescribed in U.S. patent application Ser. No. 08/998,505, filed on Dec.26, 1997. The range of coverage provided by base stations 36 depends onfactors like link budget, capacity and coverage. Base stations aretypically installed in cell sites by PCS (personal communicationservices) wireless service providers. Base stations multiplex end systemtraffic from their coverage area to the system's mobile switching center(MSC) 40 over wire line or microwave backhaul network 38.

The system is independent of the MAC and PHY (physical) layer of the airlink and the type of modem. The architecture is also independent of thephysical layer and topology of backhaul network 38. The onlyrequirements for the backhaul network are that it must be capable ofrouting internet protocol (IP) packets between base stations and the MSCwith adequate performance. At Mobile Switching Center 40 (MSC 40),packet data inter-working function (IWF) 52 terminates the wirelessprotocols for this network. IP router 42 connects MSC 40 to publicinternet 44, private intranets 46 or to internet service providers 46.Accounting and directory servers 48 in MSC 40 store accounting data anddirectory information. Element management server 50 manages theequipment which includes the base stations, the IWFs andaccounting/directory servers.

The accounting server will collect accounting data on behalf of usersand send the data to the service provider's billing system. Theinterface supported by the accounting server will send accountinginformation in American Management Association (AMA) billing recordformat, or any other suitable billing format, over a TCP/IP (transportcontrol protocol/internet protocol) transport to the billing system(which is not shown in the figure).

The network infrastructure provides PPP (point-to-point protocol)service to end systems. The network provides (1) fixed wireless accesswith roaming (log-in anywhere that the wireless coverage is available)to end systems and (2) low speed mobility and hand-offs. When an endsystem logs on to a network, in it may request either fixed service(i.e., stationary and not requiring handoff services) or mobile service(i.e., needing handoff services). An end system that does not specifyfixed or mobile is regarded as specifying mobile service. The actualregistration of the end system is the result of a negotiation with ahome registration server based on requested level of service, the levelof services subscribed to by the user of the end system and thefacilities available in the network.

If the end system negotiates a fixed service registration (i.e., notrequiring handoff services) and the end system is located in the homenetwork, an IWF (inter-working function) is implemented in the basestation to relay traffic between the end user and a communicationsserver such as a PPP server (i.e., the point with which to be connected,for example, an ISP PPP server or a corporate intranet PPP server or aPPP server operated by the wireless service provider to providecustomers with direct access to the public internet). It is anticipatedthat perhaps 80% of the message traffic will be of this category, andthus, this architecture distributes IWF processing into the basestations and avoids message traffic congestion in a central mobileswitching center.

If the end system requests mobile service (from a home network or aforeign network) or if the end system request roaming service (i.e.,service from the home network through a foreign network), two IWFs areestablished: a serving IWF typically established in the base station ofthe network to which the end system is attached (be it the home networkor a foreign network) and a home IWF typically established in mobileswitching center MSC of the home network. Since this situation isanticipated to involve only about 20% of the message traffic, themessage traffic congestion around the mobile switching center isminimized. The serving IWF and the wireless hub may be co-located in thesame nest of computers or may even be programmed in the same computer sothat a tunnel using an XTunnel protocol need not be established betweenthe wireless hub and the serving IWF.

However, based on available facilities and the type and quality ofservice requested, a serving IWF in a foreign network may alternativelybe chosen from facilities in the foreign MSC. Generally, the home IWFbecomes an anchor point that is not changed during the communicationssession, while the serving IWF may change if the end system movessufficiently.

The base station includes an access hub and at least one access point(be it remote or collocated with the access hub). Typically, the accesshub serves multiple access points. While the end system may be attachedto an access point by a wire or cable according to the teachings of thisinvention, in a preferred embodiment the end system is attached to theaccess point by a wireless “air link”, in which case the access hub isconveniently referred to as a wireless hub. While the access hub isreferred to as a “wireless hub” throughout the description herein, itwill be appreciated that an end system coupled through an access pointto an access hub by wire or cable is an equivalent implementation and iscontemplated by the term “access hub”.

In the invention, an end system includes an end user registration agent(e.g., software running on a computer of the end system, its modem orboth) that communicates with an access point, and through the accesspoint to a wireless hub. The wireless hub includes a proxy registrationagent (e.g., software running on a processor in the wireless hub) actingas a proxy for the end user registration agent. Similar concepts usedin, for example, the IETF proposed Mobile IP standard are commonlyreferred to as a foreign agent (FA). For this reason, the proxyregistration agent of the present system will be referred to as aforeign agent, and aspects of the foreign agent of the present systemthat differ from the foreign agent of Mobile IP are as describedthroughout this description.

Using the proxy registration agent (i.e., foreign agent FA) in a basestation, the user registration agent of an end system is able todiscover a point of attachment to the network and register with aregistration server in the MSC (mobile switching center) of the homenetwork. The home registration server determines the availability ofeach of the plural inter-working function modules (IWFs) in the network(actually software modules that run on processors in both the MSC andthe wireless hubs) and assigns IWF(s) to the registered end system. Foreach registered end system, a tunnel (using the XTunnel protocol) iscreated between the wireless hub in the base station and aninter-working function (IWF) in the mobile switching center (MSC), thistunnel transporting PPP frames between the end system and the IWF.

As used herein, the XTunnel protocol is a protocol that providesin-sequence transport of PPP data frames with flow control. Thisprotocol may run over standard IP networks or over point-to-pointnetworks or over switched networks like ATM data networks or frame relaydata networks. Such networks may be based on T1 or T3 links or based onradio links, whether land based or space based. The XTunnel protocol maybe built by adapting algorithms from L2TP (level 2 transport protocol).In networks based on links where lost data packets may be encountered, are-transmission feature may be a desirable option.

The end system's PPP peer (i.e., a communications server) may reside inthe IWF or in a corporate intranet or ISP's network. When the PPP peerresides in the IWF, an end system is provided with direct internetaccess. When the PPP peer resides in an intranet or ISP, an end systemis provided with intranet access or access to an ISP. In order tosupport intranet or ISP access, the IWF uses the layer two tunnelingprotocol (L2TP) to connect to the intranet or ISP's PPP server. From thepoint of view of the intranet or ISP's PPP server, the IWF looks like anetwork access server (NAS). PPP traffic between the end system and theIWF is relayed by the foreign agent in the base station.

In the reverse (up link) direction, PPP frames traveling from the endsystem to the IWF are sent over the MAC and air link to the basestation. The base station relays these frames to the IWF in the MSCusing the XTunnel protocol. The IWF delivers them to a PPP server forprocessing. For internet access, the PPP server may be in the samemachine as the IWF. For ISP or intranet access, the PPP server is in aprivate network and the IWF uses the layer two tunneling protocol (L2TP)to connect to it.

In the forward (down link) direction, PPP frames from the PPP server arerelayed by the IWF to the base station using the XTunnel protocol. Thebase station de-tunnels down link frames and relays them over the airlink to the end system, where they are processed by the end system's PPPlayer.

To support mobility, support for hand-offs are included. The MAC layerassists the mobility management software in the base station and the endsystem to perform hand-offs efficiently. Hand-offs are handledtransparently from the peer PPP entities and the L2TP tunnel. If an endsystem moves from one base station to another, a new XTunnel is createdbetween the new base station and the original IWF. The old XTunnel fromthe old base station will be deleted. PPP frames will transparentlytraverse the new path.

The network supports roaming (i.e., when the end user connects to itshome wireless service provider through a foreign wireless serviceprovider). Using this feature, end systems are able to roam away fromthe home network to a foreign network and still get service, provided ofcourse that the foreign wireless service provider and the end system'shome wireless service provider have a service agreement.

In FIG. 3, roaming end system 60 has traveled to a location at whichforeign wireless service provider 62 provides coverage. However, roamingend system 60 has a subscriber relationship with home wireless serviceprovider 70. In the present invention, home wireless service provider 70has a contractual relationship with foreign wireless service provider 62to provide access services. Therefore, roaming end system 60 connects tobase station 64 of foreign wireless service provider 62 over the airlink. Then, data is relayed from roaming end system 60 through basestation 64, through serving IWF 66 of foreign wireless service provider62, to home IWF 72 of home wireless service provider 70, or possiblythrough home IWF 72 of home wireless service provider 70 to internetservice provider 74.

An inter-service provider interface, called the I-interface, is used forcommunications across wireless service provider (WSP) boundaries tosupport roaming. This interface is used for authenticating, registeringand for transporting the end system's PPP frames between the foreign WSPand the home WSP.

PPP frames in the up link and the down link directions travel throughthe end system's home wireless service provider (WSP). Alternatively,PPP frames directly transit from the foreign WSP to the destinationnetwork. The base station in the foreign WSP is the end system's pointof attachment in the foreign network. This base station sends (andreceives) PPP frames to (and from) a serving IWF in the foreign WSP'smobile switching center. The serving IWF connects over the I-interfaceto the home IWF using a layer two tunnel to transport the end system'sPPP frames in both directions. The serving IWF in the foreign WSPcollects accounting data for auditing. The home IWF in the home WSPcollects accounting data for billing.

The serving IWF in the foreign WSP may be combined with the base stationin the same system, thus eliminating the need for the X-Tunnel.

During the registration phase, a registration server in the foreign WSPdetermines the identity of the roaming end system's home network. Usingthis information, the foreign registration server communicates with thehome registration server to authenticate and register the end system.These registration messages flow over the I-interface. Once the endsystem has been authenticated and registered, a layer two tunnel iscreated between the base station and the serving IWF using the XTUNNELprotocol and another layer two tunnel is created between the serving IWFand the home IWF over the I-interface. The home IWF connects to the endsystem's PPP peer as before, using L2TP (level 2 tunnelprotocol). Duringhand-offs, the location of the home IWF and the L2TP tunnel remainsfixed. As the end system moves from one base station to another basestation, a new tunnel is created between the new base station and theserving IWF and the old tunnel between the old base station and theserving IWF is deleted. If the end system moves far enough, so that anew serving IWF is needed, a new tunnel will be created between the newserving IWF and the home IWF. The old tunnel between the old serving andthe home will be deleted.

To support roaming, the I-interface supports authentication,registration and data transport services across wireless serviceprovider boundaries. Authentication and registration services aresupported using the IETF Radius protocol. Data transport services totransfer PPP frames over a layer two tunnel are supported using theI-XTunnel protocol. This protocol is based on the IETF L2TP protocol.

As used in this description, the term home IWF refers to the IWF in theend system's home network. The term serving IWF refers to the IWF in theforeign network which is temporarily providing service to the endsystem. Similarly, the term home registration server refers to theregistration server in the end system's home network and the termforeign registration server refers to the registration server in theforeign network through which the end system registers while it isroaming.

The network supports both fixed and dynamic IP address assignment forend systems. There are two types of IP addresses that need to beconsidered. The first is the identity of the end system in its homenetwork. This may be a structured user name in the format user@domain.This is different from the home IP address used in mobile IP. The secondaddress is the IP address assigned to the end system via the PPP IPCPaddress negotiation process. The domain sub-field of the home address isused to identify the user's home domain and is a fully qualified domainname. The user sub-field of the home address is used to identify theuser in the home domain. The User-Name is stored on the end system andin the subscriber data-base at the MSC and is assigned to the user whenhe or she subscribes to the service. The domain sub-field of theUser-Name is used during roaming to identify roaming relationships andthe home registration server for purposes of registration andauthentication. Instead of the structured user name another uniqueidentifier may be used to identify the user's home network and theuser's identity in the home network. This identifier is sent in theregistration request by the end system

The PPP IPCP is used to negotiate the IP address for the end system.Using IP configuration protocol IPCP, the end system is able tonegotiate a fixed or dynamic IP address.

Although the use of the structured user-name field and the non-use of anIP address as the home address is a feature that characterizes thepresent system over a known mobile IP, the network may be enhanced toalso support end systems that have no user-name and only a non-null homeaddress, if mobile IP and its use in conjunction with PPP end systemsbecomes popular. The PPP server may be configured by the serviceprovider to assign IP addresses during the IPCP address assignment phasethat are the same as the end system's home IP address. In this case, thehome address and the IPCP assigned IP address will be identical.

In FIG. 4, base station 64 and air links from end systems form wirelesssub-network 80 that includes the air links for end user access, at leastone base station (e.g., station 64) and at least one backhaul network(e.g., 38 of FIG. 2) from the base station to MSC 40 (FIG. 2). Thewireless sub-network architecture of, for example, a 3-sectored basestation includes the following logical functions.

1. Access point function. Access points 82 perform MAC layer bridgingand MAC layer association and dissociation procedures. An access pointincludes a processor (preferably in the form of custom applicationspecific integrated circuit ASIC), a link to a wireless hub (preferablyin the form of an Ethernet link on a card or built into the ASIC), alink to an antenna (preferably in the form of a card with a datamodulator/demodulator and a transmitter/receiver), and the antenna towhich the end system is coupled. The processor runs software to performa data bridging function and various other functions in support ofregistration and mobility handovers as further described herein. Seediscussion with respect to FIGS. 7, 8 and 11.

Access points (APs) take MAC layer frames from the air link and relaythem to a wireless hub and vice versa. The MAC layer association anddisassociation procedures are used by APs to maintain a list of endsystem MAC addresses in their MAC address filter table. An AP will onlyperform MAC layer bridging on behalf of end systems whose MAC addressesare present in the table. An access point and its associated wirelesshub are typically co-located. In its simplest form, an access point isjust a port into a wireless hub. When the APs and the wireless hub areco-located in the same cell site, they may be connected together via aIEEE 802.3 link. Sometimes, access points are located remotely from thewireless hub and connected via a long distance link like a wired T1trunk or even a wireless trunk. For multi-sector cells, multiple accesspoints (i.e., one per sector) are used.

2. Wireless hub function. Wireless hub 84 performs the foreign agent(FA) procedures, backhaul load balancing (e.g., over multiple T1's),backhaul network interfacing, and the xtunnel procedures. When supportfor quality of service (QOS) is present, the wireless hub implements thesupport for QOS by running the xtunnel protocol over backhauls withdifferent QOS attributes. In a multi-sector cell site, a single wirelesshub function is typically shared by multiple access points.

A wireless hub includes a processor, a link to one or more access points(preferably in the form of an Ethernet link on a card or built into anASIC), and a link to a backhaul line. The backhaul line is typically aT1 or T3 communications line that terminates in the mobile switchingcenter of the wireless service provider. The link to the backhaul lineformats data into a preferred format, for example, an Ethernet format, aframe relay format or an ATM format. The wireless hub processor runssoftware to support data bridging and various other functions asdescribed herein. See discussion with respect to FIGS. 9, 10 and 11.

The base station design supports the following types of cellarchitectures.

1. Local AP architecture. In a local AP architecture, access points havea large (>=2 km, typically) range. They are co-located in the cell sitewith the wireless hub (FIG. 4). Access points may be connected to thewireless hub using an IEEE 802.3 network or may be directly plugged intothe wireless hub's backplane or connected to the wireless hub using someother mechanism (e.g. universal serial bus, printer port, infra-red,etc.). It will be assumed that the first alternative is used for therest of this discussion. The cell site may be omni or sectored by addingmultiple access points and sectored antennas to a wireless hub.

2. Remote AP architecture. In a remote AP architecture, access pointsusually have a very small range, typically around 1 km radius. They arelocated remotely (either indoors or outdoors) from the wireless hub.

A T1 or a wireless trunk preferably links remote access points to thecell site where the wireless hub is located. From the cell site, a wireline backhaul or a microwave link is typically used to connect to theIWF in the MSC. If wireless trunking between the remote AP and thewireless hub is used, omni or sectored wireless radios for trunking areutilized. The devices for trunking to remote access points arepreferably co-located with the wireless hub and may be connected to itusing an IEEE 802.3 network or may be directly plugged into the wirelesshub's backplane. These devices will be referred to by the term trunk AP.

3. Mixed AP architecture. In a mixed architecture, the wirelesssub-network will have to support remote and local access points. Remoteaccess points may be added for hole filling and other capacity reasons.As described earlier, T1 or wireless trunks may be used to connect theremote AP to the wireless hub.

FIG. 5 shows a cell with three sectors using local APs only. The accesspoints and the wireless hub are co-located in the base station and areconnected to each other with 802.3 links.

FIG. 6 shows an architecture with remote access points 82 connected towireless hub 84 using wireless trunks 86. Each trunk access point in thebase station provides a point to multi-point wireless radio link to theremote micro access points (R-AP in figure). The remote access pointsprovide air link service to end systems. The wireless hub and the trunkaccess points are co-located in the base station and connected togethervia 802.3 links. This figure also shows remote access points 82Rconnected to the wireless hub via point to point T1 links. In thisscenario, no trunk APs are required.

To support all of the above cell architectures and the different typesof access points that each cell might use, the network architecturefollows the following rules:

1. Access points function as MAC layer bridges. Remote access pointsperform MAC bridging between the air link to the end systems and thewireless or T1 trunk to the cell site. Local access points perform MACbridging between the air link to the end systems and the wireless hub.

2. Trunk access points also function as MAC layer bridges. They performMAC bridging between the trunk (which goes to the access points) and thewireless hub.

3. The wireless hub is connected to all co-located MAC bridges (i.e.local access points or trunk access points) using a 802.3 linkinitially.

Additionally, where local access points or remote access points with T1trunks are used, the following rules are followed.

1. Local access points are co-located with the wireless hub andconnected to it using point to point 802.3 links or a shared 802.3network. Remote access points are connected to the wireless hub usingpoint to point T1 trunks.

2. Sectorization is supported by adding access points with sectoredantennas to the cell site.

3. For each access point connected to the wireless hub, there is aforeign agent executing in the wireless hub which participates in endsystem registration. MAC layer association procedures are used to keepthe MAC address filter tables of the access points up to date and toperform MAC layer bridging efficiently. The wireless hub participates inMAC association functions so that only valid MAC addresses are added tothe MAC address filter tables of the access points.

4. The foreign agent in the wireless hub relays frames from the accesspoints to the MSC IWF and vice versa using the xtunnel protocol. The MACaddress filter table is used to filter out those unicast MAC data frameswhose MAC addresses are not present in the table. The APs always forwardMAC broadcast frames and MAC frames associated with end systemregistration functions regardless of the contents of the MAC addressfilter table.

5. Local access points use ARP to resolve MAC addresses for routing IPtraffic to the wireless hub. Conversely, the wireless hub also uses ARPto route IP packets to access points. UDP/IP is used for networkmanagement of access points.

6. Remote access points connected via T1 do not use ARP since the linkwill be a point to point link.

7. Support for hand-offs is done with assistance from the MAC layer.

In a cell architecture using wireless trunks and trunk APs, thefollowing rules are followed.

1. Trunk access points are co-located with the wireless hub andconnected to it using point to point 802.3 links or other suitablemeans.

2. Wireless trunk sectorization is supported by adding trunk accesspoints with sectored antennas to the cell site.

3. Hand-offs across backhaul sectors are done using the foreign agent inthe wireless hub. For each backhaul sector, there is a foreign agentexecuting in the wireless hub.

4. The trunk APs do not need to participate in MAC layer end systemassociation and hand off procedures. Their MAC address filter tableswill be dynamically programmed by the wireless hub as end systemsregister with the network. The MAC address filter table is used tofilter out unicast MAC frames. Broadcast MAC frames or MAC framescontaining registration packets are allowed to always pass through.

5. Trunk APs use ARP to resolve MAC addresses for routing IP traffic tothe wireless hub. Conversely, the wireless hub use ARP to route IPpackets to trunk APs. UDP/IP is used for network management of trunkAPs.

6. In a single wireless trunk sector, MAC association and hand-offs fromone access point to another is done using the MAC layer with theassistance of the foreign agent in the wireless hub. Using these MAClayer procedures, end systems associate with access points. As endsystems move from one access point to another access point, the accesspoints will use a MAC hand off protocol to update their MAC addressfilter tables. The wireless hub at the cell site provides assistance toaccess points to perform this function. This assistance includesrelaying MAC layer hand off messages (since access points will not beable to communicate directly over the MAC layer with each other) andauthenticating the end system for MAC layer registration and hand offand for updating the MAC address filter tables of the access points.

7. The foreign agent for a wireless trunk sector is responsible forrelaying frames from its trunk AP to the MSC and vice versa using thextunnel protocol. Thus, the foreign agent for a trunk AP does not careabout the location of the end system with respect to access pointswithin that wireless trunk sector. In the down link direction, it justforwards frames from the tunnel to the appropriate trunk AP which usesMAC layer bridging to send the frames to all the remote access pointsattached in that backhaul sector. The access points consult their MACaddress filter tables and either forward the MAC frames over the accessnetwork or drop the MAC frames. As described above, the MAC addressfilter tables are kept up to date using MAC layer association and handoff procedures. In the up link direction, MAC frames are forwarded bythe access points to the backhaul bridge which forwards them to theforeign agent in the wireless hub using the 802.3 link.

8. ARP is not be used for sending or receiving IP packets to the remoteaccess points. The access points determines the MAC address of thewireless hub using BOOTP procedures. Conversely, the wireless hub isconfigured with the MAC address of remote access points. UDP/IP is usedfor network management of access points and for end system associationand hand off messages.

IEEE Standard 802.3 links in the cell site may be replaced by otherspeed links.

FIG. 7 shows the protocol stack for a local access point. At the base ofthe stack is physical layer PHY. Physical layer PHY carries data to andfrom an end system over the air using radio waves as an example. Whenreceived from an end system, the AP receives data from the physicallayer and unpacks it from the MAC frames (the MAC layer). The end systemdata frames are then repacked into an Ethernet physical layer format(IEEE 802.3 format) where it is send via the Ethernet link to thewireless hub. When the AP's processor receives data from the wirelesshub via its Ethernet link (i.e., the physical layer), the data to betransmitted to an end system, the AP packs the data in a medium accesscontrol (MAC) format, and sends the MAC layer data to its modulator tobe transmitted to the end system using the PHY layer.

In FIG. 8, the MAC and PHY layers to/from the end system of FIG. 7 arereplaced by a MAC and PHY for the trunk to the cell site for a remoteaccess point. Specifically, for a T1 trunk, the high level data linkcontrol protocol (HDLC protocol) is preferably used over the T1.

FIG. 9 depicts the protocol stack for the wireless hub that bridges thebackhaul line and the trunk to the remote access point. The trunk to theremote APs are only required to support remote access points (asdistinct from Ethernet coupled access points). The MAC and PHY layersfor the wireless trunk to the remote APs provide a point to multipointlink so that one trunk may be used to communicate with many remote APsin the same sector.

The wireless hub bridges the trunk to the remote APs and the backhaulline (e.g., T1 or T3) to the network's mobile switching center (MSC).The protocol stack in the wireless hub implements MAC and PHY layers tothe MSC on top of which is implemented an IP (Internet Protocol) layeron top of which is implemented a UDP layer (Universal Datagram Protocal,in combination referred to as UDP/IP) for network management on top ofwhich is implemented an XTunnel protocol. The XTunnel protocol is a newformat that includes aspects of mobility (e.g. as in mobile IP) andaspects of the Level 2 TunnelProtocol (L2TP). The XTunnel protocol isused to communicate from the wireless hub to the MSC and betweeninter-working functions (IWFs) in different networks or the samenetwork.

In FIG. 10, the protocol stack for the relay function in the basestation for supporting remote access points is shown. The relay functionincludes an interface to the backhaul line (depicted as the wirelesshub) and an interface to the remote AP (depicted as a trunk AP). Fromthe point of view of the wireless hub, the trunk AP (depicted in FIGS. 7and 10) actually behaves like the AP depicted in FIG. 7. Preferably, thebase station protocol stacks are split up into a wireless hub and atrunk AP with an Ethernet in between. In an N-sector wireless trunk,there are N wireless trunk APs in the cell site and one wireless hub.

In FIG. 11, the base station protocol stack for a cell architectureusing a local AP is shown. The relay function includes an interface tothe backhaul line (depicted as the wireless hub) and an air linkinterface to the end system (depicted as an AP). From the point of viewof the wireless hub, the AP (depicted in FIGS. 8 and 11) actuallybehaves like the trunk AP depicted in FIG. 8. Preferably, the basestation protocol stacks are split up into a wireless hub and a trunk APwith an Ethernet in between. In a N-sector cell, there are N accesspoints and a single wireless hub.

The backhaul network from the base station to the MSC has the followingattributes.

1. The network is capable of routing IP datagrams between the basestation and the MSC.

2. The network is secure. It is not a public internet. Traffic fromtrusted nodes only are allowed onto the network since the network willbe used for not only transporting end system traffic, but also fortransporting authentication, accounting, registration and managementtraffic.

3. The network has the necessary performance characteristics.

In typical application, the service provider is responsible forinstalling and maintaining the backhaul network on which the equipmentis installed.

The base stations supports the following backhaul interfaces forcommunicating with the MSC.

1. Base stations support IP over PPP with HDLC links using point topoint T1 or fractional T3 links.

2. Base stations support IP over frame relay using T1 or fractional T3links.

3. Base stations support IP over AAL5/ATM using T1 or fractional T3links.

4. Base stations support IP over Ethernet links.

Since all of the above interfaces are based on IETF standardencapsulations, commercial routers may be used in the MSC to terminatethe physical links of the backhaul network. Higher layers are passed onand processed by the various servers and other processors.

End system registration procedures above the MAC layer are supported. Inthe following, end system registration procedures at the MAC layer areignored except where they impact the layers above.

End systems may register for service on their home network or from aforeign network. In both scenarios, the end system uses a foreign agent(FA) in the base station to discover a point of attachment to thenetwork and to register. In the former case, the FA is in the endsystem's home network. In the latter case, the FA is in a foreignnetwork. In either case, the network uses an IWF in the end system'shome network as an anchor point (i.e., unchanging throughout the sessionin spite of mobility). PPP frames to and from the end system travel viathe FA in the base station to the IWF in the home network. If the endsystem is at home, the home IWF is directly connected by means of thextunnel protocol to the base station. Note that the home IWF may becombined with the base station in the same node. If the end system isroaming, a serving IWF in the foreign network is connected to the homeIWF over an I-interface. The serving IWF relays frames between the basestation and the home IWF. Note that the home IWF may be combined withthe base station in the same node. From the home IWF, data is sent to aPPP server which may reside in the same IWF or to a separate serverusing the L2TP protocol. The separate server may be owned and operatedby a private network operator (e.g. ISP or corporate intranet) who isdifferent from the wireless service provider. For the duration of thesession, the location of the home IWF and the PPP server remains fixed.If the end system moves while connected, it will have to re-registerwith a new foreign agent. However, the same home IWF and PPP servercontinues to be used. A new xtunnel is created between the new FA andthe IWF and the old xtunnel between the old foreign agent and the IWF isdestroyed.

FIG. 12 shows this network configuration for two end systems A and B,both of whose home wireless network is wireless service provider A(WSP-A). One end system is registered from the home wireless network andthe other from a foreign wireless network. The home IWF in WSP-A servesas the anchor point for both end systems. For both end systems, data isrelayed to the home IWF. The home IWF connects to an internet serviceprovider's PPP server owned by ISP-A. Here it is assumed that both endsystems have subscribed to the same ISP. If that were not the case, thenthe home IWF would be shown also connected to another ISP.

Within a wireless service providers network, data between base stationsand the IWF is carried using the xtunnel protocol. Data between the IWFand the PPP server is carried using Level 2 Tunneling Protocol (L2TP).Data between the serving IWF and the home IWF is carried using theI-xtunnel protocol.

In a simple scenerio, for a user in their home network requiring fixedservice, the home IWF function may be dynamically activated in the basestation. Also, the serving IWF function may be activated for a roaminguser in the base station.

Always using an IWF in the home network has its advantages anddisadvantages. An obvious advantage is simplicity. A disadvantage isthat of always having to relay data to and from a possibly remote homeIWF. The alternative is to send all the necessary information to theserving IWF so that it may connect to the end system's ISP/intranet andfor the serving IWF to send accounting information in near real timeback to the accounting server in the home network. This functionality ismore complex to implement, but more efficient because it reduces theneed to relay data over potentially long distances from the foreignnetwork to the home network.

For example, consider a case of a user who roams from Chicago to HongKong. If the user's home network is in Chicago and the user registersusing a wireless service provider in Hong Kong, then in the firstconfiguration, the anchor point will be the home IWF in Chicago and alldata will have to be relayed from Hong Kong to Chicago and vice versa.The home IWF in Chicago will connect to the user's ISP in Chicago. Withthe second configuration, the end system user will be assigned an ISP inHong Kong. Thus, data will not always have to be relayed back and forthbetween Chicago and Hong Kong. In the second configuration, the servingIWF will serve as the anchor and never change for the duration of thesession even if the end system moves. However, the location of the FAmay change as a result of end system movement in Hong Kong.

FIG. 13 shows the second network configuration. In this figure, the homenetwork for end system A and B is WSP-A. End system A registers from itshome network, using its home IWF as an anchor point, and also connectsto its ISP-A using the ISPs PPP server. End system B registers from theforeign network of WSP-B and uses a serving IWF which serves as theanchor point and connects the end system to an ISP using the ISP's PPPserver. In this configuration, data for end system B does not have to berelayed from the foreign network to the home network and vice versa.

In order for this configuration to work, not only must there be roamingagreements between the home and the foreign wireless service providers,but there also must be agreements between the foreign wireless serviceprovider and the end system's internet service provider directly orthrough an intermediary. In the example above, not only must thewireless service provider in Hong Kong have a business agreement withthe wireless service provider in Chicago, but the WSP in Hong Kong musthave a business agreement with the user's Chicago ISP and access to theChicago ISPs PPP server in Hong Kong or a business agreement withanother ISP locally in Hong Kong who has a business agreement forroaming with the user's Chicago ISP. Additionally, the WSP in Hong Kongmust be able to discover these roaming relationships dynamically inorder to do user authentication and accounting and to set up theappropriate tunnels.

It is difficult for those companies who are in the Internetinfrastructure business to work out suitable standards in the IETF forall of these scenarios. Thus, a preferable embodiment for the presentsystems to implement the simpler, potentially less efficientconfiguration, where the IWF in the home network is always used as theanchor point. However, in the presence of suitable industrystandardization of protocols for Internet roaming, the secondconfiguration should be regarded as equivalent or alternativeembodiment.

An end system will have to register with the wireless network before itcan start PPP and send and receive data. The end system first goesthrough the FA discovery and registration phases. These phasesauthenticate and register the end system to the wireless serviceprovider. Once these phases are over, the end system starts PPP. Thisincludes the PPP link establishment phase, the PPP authentication phaseand the PPP network control protocol phase. Once these phases are over,the end system is able to send and receive IP packets using PPP.

The following discussion assumes that the end system is roaming andregistering from a foreign network. During the FA discovery phase, theend system (through its user registration agent) waits for or solicitsan advertisement from the foreign agent. The user registration agentuses advertisement messages sent by a near by foreign agent to discoverthe identity of the FA and to register. During this phase, the userregistration agent of the end system selects a FA and issues aregistration request to it. The FA acting as a proxy registration agentforwards the registration request to its registration server (theregistration server in the foreign WSP). The registration server usesUser-Name from the user registration agent's request to determine theend system's home network, and forwards the registration request forauthentication to a registration server in the home network. Uponreceiving the registration request relayed by the foreign registrationserver, the home registration server authenticates the identity of theforeign registration server and also authenticates the identity of theend system. If authentication and registration succeeds, the homeregistration server selects an IWF in the home network to create anI-xtunnel link between the home IWF and the serving IWF (in the foreignWSP). The IWF in the home network serves as the anchor point for theduration of the PPP session.

Once the authentication and registration phases are over, the variousPPP phases will be started. At the start of PPP, an L2TP connection iscreated between the home IWF and requested ISP/intranet PPP server. Inthe PPP authentication phase, PPP passwords using PasswordAuthentication Protocol (PAP) or Challenge Authentication Protocol CHAPare exchanged and the ISP or intranet PPP server independentlyauthenticates the identity of the end system.

Once this succeeds, the PPP network control phase is started. In thisphase, an IP address is negotiated and assigned to the end system by thePPP server and the use of TCP/IP header compression is also negotiated.When this is complete, the end system is able to send and receive IPpackets using PPP to its ISP or a corporate intranet.

Note that two levels of authentication are performed. The firstauthentication authenticates the identity of the end system to theregistration server in the home network and the identities of theforeign network and the home network to each other. To perform thisfunction, the foreign agent forwards the end system's registrationrequest using, for example, an IETF Radius protocol to a registrationserver in its local MSC in a Radius Access-Request packet. Using the endsystem's domain name, the foreign registration server determines theidentity of the end system's home network and home registration server,and acting as a Radius proxy, encapsulates and forwards the request tothe end system's home registration server. If the foreign registrationserver cannot determine the identity of the end system's home, it mayoptionally forward the Radius request to a registration server that actslike a broker (e.g. one that is owned by a consortium of wirelessservice providers), which can in turn proxy the Radius Access-Request tothe final home registration server. If the local registration server isunable to service the registration request locally or by proxying, thenit rejects the foreign agent's registration request and the foreignagent rejects the end system's registration request. Upon receiving theRadius Access-Request, the home registration server performs thenecessary authentication of the identities of the foreign network andthe end system. If authentication and registration succeeds, the homeregistration server responds with a Radius Access-Response packet to theforeign registration server which sends a response to the foreign agentso that a round trip can be completed. The registration request isrejected if the home registration server is unable to comply for anyreason.

The second level of authentication verifies the identity of the endsystem to the intranet or ISP PPP server. PPP authentication, separatefrom mobility authentication allows the infrastructure equipment to bedeployed and owned separately from the ISP.

FIG. 14 is a ladder diagram showing the registration sequence for aroaming end system. It is assumed that the PPP server and the home IWFare in the same server and L2TP is not required. Note the interactionswith accounting servers to start accounting on behalf of the registeringend system and also directory servers to determine the identity of thehome registration server and to authenticate the end system's identity.More information on accounting, billing, roaming (between serviceproviders) and settlement will be provided below.

MAC layer messages from the user registration agent of the end systemmay be used to initiate Agent Solicitation. The MAC layer messages arenot shown for clarity.

In FIG. 14, the end system (mobile) initially solicits an advertisementand the foreign agent replies with an advertisement that provides theend system with information about the network to which the foreign agentbelongs including a care-of-address of the foreign agent. Alternatively,this phase may be removed and all network advertisements may be done bya continuously emitted MAC layer beacon message. In this case, thenetwork is assumed to be a foreign wireless service provider. Then, auser registration agent (in the end system) incorporates the informationabout the foreign agent (including the user name and other securitycredentials) and its network into a request and sends the request to theforeign agent. The foreign agent, as a proxy registration agent, relaysthe request to the foreign registration server (i.e., the registrationserver for the foreign wireless service provider. Then, the foreignregistration server, recognizing that it is not the home directory,accesses the foreign directory server with the FDD in the foreignwireless service provider to learn how to direct the registrationrequest to the home registration server of the wireless service providerto which the end system belongs. The foreign registration serverresponds with the necessary forwarding information. Then, the foreignregistration server encapsulates the end system's registration requestin a Radius access request and relays the encapsulated request to thehome registration server of the wireless service provider to which theend system belongs. The home registration server accesses the homedirectory server with the HDD of the home registration server to learnat least authentication information about the foreign service provider.Optionally, the home registration server accesses the subscriber'sdirectory to learn detail subscriber service profile information (e.g.,quality of service options subscribed to, etc.). When all parties areauthenticated, the home registration server sends a start IWF request tothe home IWF and PPP server. The home IWF and PPP server starts the homeaccounting server and then sends a start IWF response to the homeregistration server. The home registration server then sends a Radiusaccess response to the foreign registration server. The foreignregistration server then sends a start IWF request to the serving IWFserver. The serving IWF server starts the serving accounting server andthen sends a start IWF response to the foreign registration server. Theforeign registration server sends a registration reply to the foreignagent, and the foreign agent relays the registration reply to the endsystem.

A link control protocol (LCP) configuration request is send by the endsystem through the foreign registration server to the home IWF and PPPserver. The home IWF and PPP server sends an LCP configurationacknowledgment through the foreign registration server to the endsystem.

Similarly, a password authentication protocol (PAP) authenticationrequest is sent to and acknowledged by the home IWF and PPP server.Alternatively, a challenge authentication protocol (CHAP) may be used toauthenticate. Both protocols may be used to authenticate or this phasemay be skipped.

Similarly, an IP configuration protocol (IPCP) configure request is sentto and acknowledged by the home IWF and PPP server.

The connection to the end system may be terminated because of any one ofthe following reasons.

1. User initiated termination. Under this scenario, the end system firstterminates the PPP gracefully. This includes terminating the PPP networkcontrol protocol (IPCP) followed by terminating the PPP link protocol.Once this is done, the end system de-registers from the network followedby termination of the radio link to the access point.

2. Loss of wireless link. This scenario is detected by the modem andreported to the modem driver in the end system. The upper layers of thesoftware are notified to terminate the stacks and notify the user.

3. Loss of connection to the foreign agent. This scenario is detected bythe mobility driver in the end system. After trying to re-establishcontact with a (potentially new) foreign agent and failing, the driversends an appropriate notification up the protocol stack and also signalsthe modem hardware below to terminate the wireless link.

4. Loss of connection to the IWF. This is substantially the same as forloss of connection to the foreign agent.

5. Termination of PPP by IWF or PPP server. This scenario is detected bythe PPP software in the end system. The end system's PPP driver isnotified of this event. It initiates de-registration from the networkfollowed by termination of the wireless link to the access point.

End system service configuration refers to the concept of configuringthe network service for an end system based on the subscriber's serviceprofile. The subscriber's service profile is stored in a subscriberdirectory. The service profile contains information to enable thesoftware to customize wireless data service on behalf of the subscriber.This includes information to authenticate the end system, allow the endsystem to roam and set up connections to the end system's internetservice provider. Preferably, this information also includes otherparameters, like, quality of service. In addition to the subscriberdirectory, a home domain directory (HDD) and a foreign domain directory(FDD) are used for roaming and for authenticating the foreign and homeregistration servers to each other. The HDD stores information about theend system's home network and the FDD stores information about foreignnetworks that a subscriber may visit.

FIG. 15 shows how these directories map into the network architectureand are used during registration for an end system that is registeringat home. In step 0 the end system (mobile) solicits and receives anadvertisement from the foreign agent to provides the end system withinformation about the network to which the foreign agent belongs. Inthis case, the network is the home wireless service provider. In step 1,user registration agent (in the end system) incorporates the informationabout the foreign agent and its network and its security credentialsinto a request and sends the request to the foreign agent. In step 2,the foreign agent, as a proxy registration agent, relays the request tothe home registration server. In step 3, the home registration serveraccesses the HDD of the home wireless service provider to learn at leastauthentication information. In step 4, the home registration serveraccesses the subscriber directory to learn detail subscriber serviceprofile information (e.g., quality of service options subscribed to,etc.). In step 5, the home registration server notifies the foreignagent of the access response. In steps 6 and 7, the foreign agentnotifies the end system (i.e., mobile) of the registration reply.

FIG. 16 shows directory usage for an end system that is registering froma foreign network. In step 0 the end system (mobile) solicits andreceives an advertisement and the foreign agent advertises whichprovides the end system with information about the network to which theforeign agent belongs. In this case, the network is a foreign wirelessservice provider. In step 1, user registration agent (in the end system)incorporates the information about the foreign agent and its network andits security credential into a request and sends the request to theforeign agent. In step 2, the foreign agent, as a proxy registrationagent, relays the request to the foreign registration server (i.e., theregistration server for the foreign wireless service provider. In step3, the foreign registration server accesses the HDD of foreign wirelessservice provider to learn the network to which the end system belongs.In step 4, the foreign registration server forwards the end system'srequest to the home registration server of the end system's homewireless service provider. In step 5, the home registration serveraccesses the FDD of the home registration server to learn at leastauthentication information about the foreign service provider. In step6, the home registration server accesses the subscriber's directory tolearn detail subscriber service profile information (e.g., quality ofservice options subscribed to, etc.). In step 7, the home registrationserver notifies the foreign registration server of the access response.In step 8, the foreign registration server forwards to the foreign agentthe access response. In step 9, the foreign agent notifies the endsystem (i.e., mobile) of the registration reply.

Protocol handling scenarios handle bearer data and the associated stacksfor transporting bearer data to and from an end system. The protocolstacks for the cell architectures use local APs (FIG. 17) and remote APs(FIG. 18).

FIG. 17 shows the protocol stacks for handling communications between anend system (in its home network) and a home IWF for End System @ Home.FIG. 17 shows the protocol handling for a cell architecture where theaccess point and the wireless hub are co-located.

FIG. 18 shows the protocol handling for a cell architecture where theaccess point is located remotely from the wireless hub. As shown, PPPterminates in the IWF and the configuration provides direct internetaccess. The configuration for the case where the PPP server is separatefrom the IWF is described later.

In FIG. 18, PPP frames from the end system are encapsulated in RLP(radio link protocol) frames which are encapsulated at the remote accesspoint in MAC frames for communicating with the trunk access point (i.e.,an access point physically located near the wireless hub), the remoteaccess point being coupled to the access point by, for example, awireless trunk). The access point functions as a MAC layer bridge andrelays frames from the air link to the foreign agent in the wirelesshub. The foreign agent de-encapsulates the RLP frames out of the MACframes, and using the xtunnel protocol, relays the RLP frames to theIWF. A similar, albeit reverse, process occurs for transmitting framesfrom the IWF to the end system.

If the end system moves to another foreign agent, then a new xtunnelwill be automatically created between the new foreign agent and the IWF,so that PPP traffic continues to flow between them, withoutinterruption.

In the remote AP cell architecture (FIG. 18) using wireless trunksbetween the remote AP and the trunk AP, the air link between the endsystem and the access point may operate at a different frequency (f1)and use a different radio technology as compared to the frequency (f2)and radio technology of the trunk.

FIG. 19 shows the protocol stacks for a roaming end system. The servingIWF uses of the I-xtunnel protocol between the serving IWF and home IWF.The rest of the protocol stacks remain unchanged and are not shown. Thisarchitecture may be simplified by merging the serving IWF into the basestation, thus eliminating the XWD protocol.

The RLP layer uses sequence numbers to drop duplicate PPP datagrams andprovide in-sequence delivery of PPP datagrams between the end system andthe IWF. It also provides a configurable keep-alive mechanism to monitorlink connectivity between the end system and the IWF. Additionally, inan alternative embodiment, the RLP layer also provides re-transmissionand flow control services in order to reduce the overall bit error rateof the link between the end system and the IWF. The RLP between the endsystem and the IWF is started at the beginning of the session andremains active throughout the session and even across hand-offs.

In contrast to the specification in the mobile IP RFC (RFC 2003), IP inIP encapsulation is not used for tunneling between the foreign agent andthe home IWF. Instead a new tunneling protocol, implemented on top ofUDP is used. This tunneling protocol is a simplified version of the L2TPprotocol. The reasons for this choice are as follows.

1. The encapsulation protocol specified in RFC 2003 does not provideflow control or in-sequence delivery of packets. The presently describednetwork may need these services in the tunnel over the backhaul. Flowcontrol may be needed to reduce the amount of re-transmissions over theair link because of packet loss due to flow control problems over thenetwork between the base station and the MSC or because of flow controlproblems in the base station or the IWF.

2. By using a UDP based tunneling protocol, the implementation can bedone at the user level and then put into the kernel for performancereasons, after it has been debugged.

3. Using RFC 2003, there is no easy way of creating tunnels taking intoaccount quality of service and load balancing. In order to take QOS intoaccount, it should be possible to set up tunnels over links that alreadyprovide the required QOS. Secondly, using RFC 2003, there is no easy wayto provide load balancing to distribute bearer traffic load overmultiple links between the base station and the MSC.

4. In order to implement IP in IP encapsulation as specified in RFC2003, developers require access to IP source code. In commercialoperating systems, source code for the TCP/IP stack is generallyproprietary to other equipment manufacturers. Purchasing the TCP/IPstack from a vendor and making changes to the IP layer to support mobileIP tunneling would require a developer to continue supporting a variantversion of the TCP/IP stack. This adds cost and risk.

While it is noted that the tunneling protocol between the base stationand the IWF is non-standard and that the wireless service provider willnot be able to mix and match equipment from different vendors, the useof a non-standard tunneling protocol within a single wireless serviceprovider network is transparent to end systems and equipment from othervendors.

The new tunneling protocol is based on L2TP. By itself, L2TP is aheavyweight tunneling protocol so that L2TP has a lot of overheadassociated with tunnel creation and authentication. The new tunnelingprotocol of the present system has less overhead. The new xtunnelprotocol has the following features.

1. The xtunnel creation adds vendor specific extensions to Radius AccessRequest and Radius Access Response messages between the base station andthe registration server. These extensions negotiate tunnel parametersand to create the tunnel.

2. The registration server is able to delegate the actual work oftunneling and relaying packets to a different IP address, and therefore,to a different server in the MSC. This permits the registration serverto do load balancing across multiple IWF servers and to providedifferent QOS to various users.

3. The xtunnel protocol supports in-band control messages for tunnelmanagement. These messages include echo request/response to test tunnelconnectivity, disconnect request/response/notify to disconnect thetunnel and error notify for error notifications. These messages are sentover the tunneling media, for example, UDP/IP.

4. The xtunnel protocol sends payload data over the tunneling media, forexample, UDP/IP. The xtunnel protocol supports flow control andin-sequence packet delivery.

5. The xtunnel protocol may be implemented over media other than UDP/IPfor quality of service.

The network supports direct internet connectivity by terminating the PPPin the home IWF and routing IP packets from the IWF to the internet viaa router using standard IP routing techniques. Preferably, the IWF runsRouting Information Process (RIP), and the router also runs RIP andpossibly other routing protocols like Open Shortest Path First (OSPF).

The network supports a first configuration for a wireless serviceprovider who is also an internet service provider. In thisconfiguration, the home IWF in the MSC also functions as a PPP server.This IWF also runs internet routing protocols like RIP and uses a routerto connect to the internet service provider's backbone network.

The network supports a second configuration for a wireless serviceprovider who wishes to allow end systems to connect to one or moreinternet service providers, either because the WSP itself is not ISPs,or because the WSP has agreements with other ISPs to provide access toend users. For example, a wireless service provider may elect to offernetwork access to an end user and may have an agreement with a 3^(rd)party ISP to allow the user who also has an account with the 3^(rd)party ISP to access the ISP from the WSP network. In this configuration,the PPP server does not run in the home IWF installed at the MSC.Instead, a tunneling protocol like L2TP (Layer Two Tunneling Protocol)is used to tunnel back to the ISP's PPP server. FIG. 10 shows theprotocol stacks for this configuration for an end system that is athome.

The location of the home IWF and the ISP PPP server remains fixedthroughout the PPP session. Also, the L2TP tunnel between the IWF andthe ISP's PPP server remains up throughout the PPP session. The physicallink between the IWF and the PPP server is via a router using adedicated T1 or T3 or frame relay or ATM network. The actual nature ofthe physical link is not important from the point of view of thearchitecture.

This configuration also supports intranet access. For intranet access,the PPP server resides in the corporate intranet and the home IWF usesL2TP to tunnel to it.

For a fixed end system, the protocol handling for intranet or ISP accessis as shown in FIG. 20 with the difference that the roaming end systemuses a serving IWF to connect to its home IWF. The protocol handlingbetween a serving IWF and a home IWF has been described earlier. In FIG.20, the home IWF may be merged into the wireless hub eliminating theX-Tunnel protocol. Also, the serving IWF may be merged into the wirelesshub, thus eliminating the X-Tunnel protocol.

FIG. 21 shows the protocol stacks used during the registration phase(end system registration) for a local AP cell architecture. The stackfor a remote AP cell architecture is very similar.

The scenario shown above is for a roaming end system. For an end systemat home, there is no foreign registration server in the registrationpath.

Note the mobility agent in the end system. The mobility agent in the endsystem and foreign agent in the wireless hub are conceptually similar tothe mobile IP RFC 2002. The mobility agent handles network errors usingtime-outs and retrys. Unlike the known protocol stacks for bearer data,RLP is not used. The foreign agent and the registration servers useRadius over UDP/IP to communicate with each other for registering theend system.

Several aspects of security must be considered. The first,authenticating the identities of the end system and the foreign/homenetworks during the wireless registration phase. Second, authenticatingthe identity of the end system with its PPP server during the PPPauthentication phase. Third, authentication for storing accounting data,for billing and for updating home domain information. Fourth, encryptionof bearer traffic transmitted to and from the end system. Fifth,encryption for exchanging billing information across service providerboundaries.

Shared secrets are used to authenticate the identity of end systems withtheir home networks and the identity of the home and foreign networkswith each other during wireless registration.

End system authentication uses a 128-bit shared secret to create anauthenticator for its registration request. The authenticator is createdusing the known MD5 message digest algorithm as described in the mobileIP RFC 2002. Alternatively, a different algorithm may be used. Theshared secret is not sent in the registration request by the end system.Only the authenticator is sent. On receiving the registration requestfrom the end system, the home registration server re-computes theauthenticator over the registration request data using the sharedsecret. If the computed authenticator value matches the authenticatorvalue sent by the end system, the home registration server allows theregistration process to proceed. If the values do not match, the homeregistration server logs the event, generates a security violation alarmand a nak (i.e., a negative acknowledgment) to the request.

In the registration reply, the home registration server does thesame—that is to say, uses the shared secret to create an authenticatorfor the registration reply that it sends to the end system. Uponreceiving the reply, the end system re-computes the authenticator usingthe shared secret. If the computed value does not match theauthenticator value sent by the home registration server in the reply,the end system discards the reply and tries again.

These network security concepts are similar to the concepts defined inmobile IP RFC 2002. According to the RFC, a mobility securityassociation exist between each end system and its home network. Eachmobility security association defines a collection of security contexts.Each security context defines an authentication algorithm, a mode, asecret (shared or public-private), style of replay protection and thetype of encryption to use. In the context of the present network, theend system's User-Name (in lieu of the mobile IP home address) is usedto identify the mobility security association between the end system andits home network. Another parameter, called the security parameter index(SPI), is used to select a security context within the mobility securityassociation. In a basic embodiment of the invention, only the defaultmobile IP authentication algorithm (keyed-MD5) and the default mode(“prefix+suffix”) are supported with 128-bit shared secrets. Networkusers are allowed to define multiple shared secrets with their homenetworks. The mechanism for creating security contexts for end users,assigning an SPI to each security context and for setting the contentsof the security context (which includes the shared secret) and formodifying their contents are described below. During registration, a128-bit message digest is computed by the end system in prefix+suffixmode using the MD5 algorithm. The shared secret is used as the prefixand the suffix for the data to be protected in the registration request.The authenticator thus computed, along with the SPI and the User-Nameare transmitted in the registration request by the end system. Uponreceiving the end system's registration request, the foreignregistration server relays the request along with the authenticator andthe SPI, unchanged to the home registration server. Upon receiving theregistration request directly from the end system or indirectly via aforeign registration server, the home registration server uses the SPIand the User-Name to select the security context. The home serverre-computes the authenticator using the shared secret. If the computedauthenticator value matches the value of the authenticator sent in therequest by the end system, the user's identity will have beensuccessfully authenticated. Otherwise, the home registration server naks(negatively acknowledges) the registration request sent by the endsystem.

The registration reply sent by the home registration server to the endsystem is also authenticated using the algorithm described above. TheSPI and the computed authenticator value is transmitted in theregistration reply message by the home server to the end system. Uponreceiving the reply, the end system re-computes the authenticator, andif the computed value does not match the transmitted value, it willdiscard the reply and retry.

The user's end system has to be configured with the shared secret andSPIs for all security contexts that the user shares with itsregistration server(s). This configuration information is preferablystored in a Win 95 registry for Windows 95 based end systems. Duringregistration, this information is accessed and used for authenticationpurposes.

In the network, Radius protocols are used by foreign agent FA toregister the end system and to configure the xtunnel between thewireless hub and the home and serving IWFs on behalf of the end system.On receiving a registration request from the end system, the FA createsa Radius Access-Request packet, stores its own attributes into thepacket, copies the end system's registration request attributesunchanged into this packet and sends the combined request to theregistration server in the MSC.

Radius authentication requires that the Radius client (in this case, theFA in the base station) and the Radius server (in this case, theregistration server in the MSC) share a secret for authenticationpurposes. This shared secret is also used to encrypt any privateinformation communicated between the Radius client and the Radiusserver. The shared secret is a configurable parameter. The networkfollows the recommendations in the Radius RFC and uses the shared secretand the MD5 algorithm for authentication and for encryption, whereencryption is needed. The Radius-Access Request packet sent by the FAcontains a Radius User-Name attribute (which is provided by the endsystem) and a Radius User-Password attribute. The value of theUser-Password attribute is also a configurable value and encrypted inthe way recommended by the Radius protocol. Other network specificattributes, which are non-standard attributes from the point of view ofthe Radius RFC standards, are encoded as vendor specific Radiusattributes and sent in the Access-Request packet.

The following attributes are sent by the FA to its registration serverin the Radius Access-Request packet.

1. User-Name Attribute. This is the end system's user-name as suppliedby the end system in its registration request.

2. User-Password Attribute. This user password is supplied by the basestation/wireless hub on behalf of the user. It is encoded as describedin the Radius EFC using the secret shared between the base station andits registration server.

3. NAS-Port. This is the port on the base station.

4. NAS-IP-Address. This is the IP address of the base station.

5. Service-Type. This is framed service.

6. Framed Protocol. This is a PPP protocol.

7. Xtunnel Protocol Parameters. These parameters are sent by the basestation to specify the parameters necessary to set up the xtunnelprotocol on behalf of the end system. This is a vendor-specificattribute.

8. AP-IP-Address. This is the IP address of the AP through which theuser is registering. This is a vendor-specific attribute.

9. AP-MAC-Address. This is the MAC address of the AP through which theuser is registering. This is a vendor-specific attribute.

10. End system's Registration Request. The registration request from theend system is copied unchanged into this vendor specific attribute.

The following attributes are sent to the FA from the registration serverin the Radius Access-Response packet.

1. Service Type. This is a framed service.

2. Framed-Protocol. This is a PPP.

3. Xtunnel Protocol Parameters. These parameters are sent by theregistration server to specify the parameters necessary to set up thextunnel protocol on behalf of the end system. This is a vendor-specificattribute.

4. Home Registration Server's Registration Reply. This attribute is sentto the FA from the home registration server. The FA relays thisattribute unchanged to the end system in a registration reply packet. Ifthere is a foreign registration server in the path, this attribute isrelayed by it to the FA unchanged. It is coded as a vendor-specificattribute.

To provide service to roaming end systems, the foreign network and thehome network are authenticated to each other for accounting and billingpurposes using the Radius protocol for authentication and configuration.This authentication is performed at the time of end system registration.As described earlier, when the registration server in the foreignnetwork receives a registration request from an end system (encapsulatedas a vendor specific attribute in a Radius-Access Request packet by theFA), it uses the end system's User-Name to determine the identity of theend system's home registration server by consulting its home domaindirectory HDD. The following information is stored in home domaindirectory HDD and accessed by the foreign registration server in orderto forward the end system's registration request.

1. Home Registration Server IP Address. This is the IP address of thehome registration server to forward the registration request.

2. Foreign Registration Server Machine Id. This is the machine ID of theforeign registration server in SMTP (simplified mail transfer protocol)format (e.g., machine@fqdn where machine is the name of the foreignregistration server machine and fqdn is the fully qualified domain nameof the foreign registration server's domain).

3. Tunneling Protocol Parameters. These are parameters for configuringthe tunnel between the serving IWF and the home IWF on behalf of the endsystem. These include the tunneling protocol to be used between them andthe parameters for configuring the tunnel.

4. Shared Secret. This is the shared secret to be used forauthentication between the foreign registration server and the homeregistration server. This secret is used for computing the RadiusUser-Password attribute in the Radius packet sent by the foreignregistration server to the home registration server. It is definedbetween the two wireless service providers.

5. User-Password. This is the user password to be used on behalf of theroaming end system. This user password is defined between the twowireless service providers. This password is encrypted using the sharedsecret as described in the Radius RFC.

6. Accounting Parameters. These are parameters for configuringaccounting on behalf of the end system that is registering. Theseparameters are sent by the registration server to its IWF forconfiguring accounting on behalf of the end system.

Using this information, the foreign registration server creates a RadiusAccess-Request, adds its own registration and authentication informationinto the Radius Access-Request, copies the registration information sentby the end system unchanged into the Radius Access-Request and sends thecombined request to the home registration server.

Upon receiving the Radius-Access Request from the foreign registrationserver (for a roaming end system) or directly from the FA (for an endsystem at home), the home registration server consults its own directoryserver for the shared secrets to verify the identity of the end systemand the identity of the foreign registration server in a roamingscenario by re-computing authenticators.

After processing the request successfully, the home registration servercreates a Radius Access-Accept response packet and sends it to theforeign registration server if the end system is roaming, or directly tothe FA from which it received the Radius Access-Request. The responsecontains the registration reply attribute that the FA relays to the endsystem.

If the request can not be processed successfully, the home registrationserver creates a Radius Access-Reject response packet and sends it tothe foreign registration server if the end system is roaming, ordirectly to the FA from which it received the Radius Access-Request. Theresponse contains the registration reply attribute that the FA willrelays to the end system.

In a roaming scenario, the response from the home registration server isreceived by the foreign registration server. It is authenticated by theforeign registration server using the shared secret. Afterauthenticating, the foreign registration server processes the response,and in turn, it generates a Radius response packet (Accept or Reject) tosend to the PA. The foreign registration server copies the registrationreply attribute from the home registration server's Radius responsepacket, unchanged, into its Radius response packet.

When the FA receives the Radius Access-Response or Radius Access-Rejectresponse packet, it creates a registration reply packet using theregistration reply attributes from the Radius response, and sends thereply to the end system, thus completing the round trip registrationsequence.

Mobile IP standards specifies that replay protection for registrationsare implemented using time stamps, or optionally, using nonces. However,since replay protection using time stamps requires adequatelysynchronized time-of-day clocks between the corresponding nodes, thepresent system implements replay protection during registration usingnonces even though replay protection using time stamps is mandatory inthe Mobile IP standards and the use nonces is optional. However, replayprotection using time stamps as an alternative embodiment is envisioned.

The style of replay protection used between nodes is stored in thesecurity context in addition to the authentication context, mode, secretand type of encryption.

The network supports the use of PPP PAP (password authentication) andCHAP (challenge authenticated password) between the end system and itsPPP server. This is done independently of the registration andauthentication mechanisms described earlier. This allows a privateintranet or an ISP to independently verify the identity of the user.

Authentication for accounting and directory services is described belowwith respect to accounting security. Access to directory servers fromnetwork equipment in the same MSC need not be authenticated.

The network supports encryption of bearer data sent between the endsystem and the home IWF. End systems negotiate encryption to be on oroff by selecting the appropriate security context. Upon receiving theregistration request, the home registration server grants the endsystem's request for encryption based upon the security context. Inaddition to storing the authentication algorithm, mode, shared secretand style of replay protection, the security context is also used tospecify the style of encryption algorithm to use. If encryption isnegotiated between the end system and the home agent, then the completePPP frame is so encrypted before encapsulation in RLP.

The IWF, the accounting server and the billing system are part of thesame trusted domain in the MSC. These entities are either connected onthe same LAN or part of a trusted intranet owned and operated by thewireless service provider. Transfer of accounting statistics between theIWF and the accounting server and between the accounting server and thecustomer's billing system may be encrypted using Internet IP securityprotocols like IP-Sec.

The network makes it more difficult to monitor the location of the endsystem because it appears that all PPP frames going to and from the endsystem go through the home IWF regardless of the actual location of theend system device.

Accounting data is collected by the serving IWF and the home IWF in thenetwork. Accounting data collected by the serving IWF is sent to anaccounting server in the serving IWF's MSC. Accounting data collected bythe home IWF is sent to an accounting server in the home IWF's MSC. Theaccounting data collected by the serving IWF is used by the foreignwireless service provider for auditing and for settlement of billsacross wireless service provider boundaries (to support roaming andmobility). The accounting data collected by the home IWF is used forbilling the end user and also for settlement across wireless serviceprovider boundaries to handle roaming and mobility.

Since all data traffic flows through the home IWF, regardless of the endsystem's location and the foreign agent's location, the home IWF has allthe information to generate bills for the customer and also settlementinformation for the use of foreign networks.

The serving IWF and the home IWF preferably use the Radius accountingprotocol for sending accounting records for registered end systems. TheRadius accounting protocol is as documented in a draft IETF RFC. For thepresent invention, the protocol has to be extended by adding vendorspecific attributes for the network and by adding check-pointing to theRadius Accounting protocol. Check-pointing in this context refers to theperiodic updating of accounting data to minimize risk of loss ofaccounting records.

The Radius accounting protocol runs over UDP/IP and uses re-trys basedon acknowledgment and time outs. The Radius accounting client (servingIWFs or home IWFs) send UDP accounting request packets to theiraccounting servers which send acknowledgments back to the accountingclients.

In the network, the accounting clients (serving IWF and the home IWF)emit an accounting start indication at the start of the user's sessionand an accounting stop indication at the end of the user's session. Inthe middle of the session, the accounting clients emit accountingcheckpoint indications. In contrast, the Radius accounting RFC does notspecify an accounting checkpoint indication. The software of the presentsystem creates a vendor specific accounting attribute for this purpose.This accounting attribute is present in all Radius Accounting-Requestpackets which have Acct-Status-Type of Start (accounting startindications). The value of this attribute is used to convey to theaccounting server whether the accounting record is a check-pointingrecord or not. Check-pointing accounting reports have a time attributeand contain cumulative accounting data from the start of the session.The frequency of transmitting check-point packets is configurable in thepresent invention.

The serving IWF and the home IWF are configured by their respectiveregistration servers for connecting to their accounting servers duringthe registration phase. The configurable accounting parameters includethe IP address and UDP port of the accounting server, the frequency ofcheck-pointing, the session/multi-session id and the shared secret to beused between the accounting client and the accounting server.

The network records the following accounting attributes for eachregistered end system. These accounting attributes are reported inRadius accounting packets at the start of the session, at the end of thesession and in the middle (check-point) by accounting clients to theiraccounting servers.

1. User Name. This is like the Radius User-Name attribute discussedabove. This attribute is used to identify the user and is present in allaccounting reports. The format is “user@domain” where domain is thefully qualified domain name of the user's home.

2. NAS IP Address. This is like the Radius NAS-IP-Address attributediscussed above. This attribute is used to identify the IP address ofthe machine running the home IWF or the serving IWF.

3. Radio Port. This attribute identifies the radio port on the accesspoint providing service to the user. This attribute is encoded as avendor specific attribute.

4. Access Point IP Address. This attribute identifies the IP address ofthe access point providing service to the user. This attribute isencoded as a vendor specific attribute.

5. Service Type. This is like the Radius Service-Type attributedescribed above. The value of this attribute is Framed.

6. Framed Protocol. This is like the Radius Framed-Protocol attributedescribed above. The value of this attribute is set to indicate PPP.

7. Accounting Status Type. This is like the Radius Acct-Status-Typeattribute described above. The value of this attribute may be Start tomark the start of a user's session with the Radius client and Stop tomark the end of the user's session with the Radius client. Foraccounting clients, the Acct-Status-Type/Start attribute is generatedwhen the end system registers. The Acct-Status-type/Stop attribute isgenerated when the end system de-registers for any reason. Forcheckpoints, the value of this attribute is also Start and theAccounting Checkpoint attribute is also present.

8. Accounting Session Id. This is like the Radius Acct-Session-Iddescribed above. In a roaming scenario, this session id is assigned bythe foreign registration server when the end system issues aregistration request. It is communicated to the home registration serverby the foreign registration server during the registration sequence. Thehome network and the foreign network both know the Acct-Session-Idattribute and are able to emit this attribute while sending accountingrecords to their respective accounting servers. In a “endsystem-at-home” scenario, this attribute is generated by the homeregistration server. The registration server communicates the value ofthis attribute to the IWF which emits it in all accounting records.

9. Accounting Multi-Session Id. This is like the RadiusAcct-Multi-Session-Id discussed above. This id is assigned by the homeregistration server when a registration request is received from a FAdirectly or via a foreign registration server on behalf of an endsystem. It is communicated to the foreign registration server by thehome registration server in the registration reply message. Theregistration server(s) communicates the value of this attribute to theIWF(s) which emit it in all accounting records.

With true mobility added to the architecture, the id is used to relatetogether the accounting records from different IWFs for the same endsystem if the end system moves from one IWF to another. For hand-offsacross IWF boundaries, the Acct-Session-Id is different for accountingrecords emanating from different IWFs. However, theAcct-Multi-Session-Id attribute is the same for accounting recordsemitted by all IWFs that have provided service to the user. Since thesession id and the multi-session id are known to both the foreignnetwork and the home network, they are able to emit these attributes inaccounting reports to their respective accounting servers. With thesession id and the multi-session id, billing systems are able tocorrelate accounting records across IWF boundaries in the same wirelessservice provider and even across wireless service provider boundaries.

1. Accounting Delay Time. See Radius Acct-Delay-Time attribute.

2. Accounting Input Octets. See Radius Acct-Input-Octets. This attributeis used to keep track of the number of octets sent by the end system(input to the network from the end system). This count is used to trackthe PPP frames only. The air link overhead, or any overhead imposed byRLP, etc. is not counted.

3. Accounting Output Octets. See Radius Acct-Output-Octets. Thisattribute is used to keep track of the number of octets sent to the endsystem (output from the network to the end system). This count is usedto track the PPP frames only. The air link overhead, or any overheadimposed by RLP, etc. and is not counted.

4. Accounting Authentic. See Radius Acct-Authentic attribute. The valueof this attribute is Local or Remote depending on whether the servingIWF or the home IWF generates the accounting record.

5. Accounting Session Time. See Radius Acct-Session-Time attribute. Thisattribute indicates the amount of time that the user has been receivingservice. If sent by the serving IWF, this attribute tracks the amount oftime that the user has been receiving service from that serving IWF. Ifsent by the home IWF, this attribute tracks the amount of time that theuser has been receiving service from the home IWF.

6. Accounting Input Packets. See Radius Acct-Input-Packets attribute.This attribute indicates the number of packets received from the endsystem. For a serving IWF, this attribute tracks the number of PPPframes input into the serving IWF from an end system. For a home IWF,this attribute tracks the number of PPP frames input into the home IWFfrom an end system.

7. Accounting Output Packets. See Radius Acct-Output-Packets attribute.This attribute indicates the number of packets sent to the end system.For a serving IWF, this attribute tracks the number of PPP frames outputby the serving IWF to the end system. For a home IWF, this attributetracks the number of PPP frames sent to the end system from the homeIWF.

8. Accounting Terminate Cause. See Radius Acct-Terminate-Causeattribute. This attribute indicates the reason why a user session wasterminated. In addition, a specific cause code is also present toprovide additional details. This attribute is only present in accountingreports at the end of the session.

9. Network Accounting Terminate Cause. This attribute indicates adetailed reason for terminating a session. This specific attribute isencoded as a vendor specific attribute and is only reported in a RadiusAccounting attribute at the end of session. The standard Radiusattribute Acct-Terminate-Cause is also present. This attribute providesspecific cause codes, not covered by the Acct-Terminate-Cause attribute.

10. Network Air link Access Protocol. This attribute indicates the airlink access protocol used by the end system. This attribute is encodedas a vendor specific attribute.

11. Network Backhaul Access Protocol. This attribute indicates thebackhaul access protocol used by the access point to ferry data to andfrom the end system. This attribute is encoded as a vendor specificattribute.

12. Network Agent Machine Name. This attribute is the fully qualifieddomain name of the machine running the home IWF or the serving IWF. Thisspecific attribute is encoded in vendor specific format.

13. Network Accounting Check-point. Since the Radius accounting RFC doesnot define a check-point packet, the present network embodiment uses aRadius accounting start packet with this attribute to mark acheck-point. The absence of a check-point attribute means a conventionalaccounting start packet. The presence of this attribute in a accountingstart packet means a accounting check-point packet. Accounting stoppackets do not have this attribute.

In the preferred embodiment, every accounting packet and thecorresponding reply must be authenticated using MD5 and a shared secret.The IWFs are configured with a shared secret that are used by them forauthentication during communication with their Radius accounting server.The shared secrets used by the IWFs for communicating with accountingservers are stored in the home/foreign domain directory located in theMSC. The shared secrets for accounting security are communicated to theIWFs by their registration servers during the end system registrationsequence.

The accounting server software runs in a computer located in the MSC.The role of the accounting server in the system is to collect rawaccounting data from the network elements (the home and the servingIWFs), process the data and store it for transfer to the wirelessservice provider's billing system. The accounting server does notinclude a billing system. Instead, it includes support for an automaticor manual accounting data transfer mechanism. Using the automaticaccounting data transfer mechanism, the accounting server transfersaccounting records in AMA billing format to the customer's billingsystem over a TCP/IP transport. For this purpose, the system defines AMAbilling record formats for packet data. Using the manual transfermechanism, customers are able to build a tape to transfer accountingrecords to their billing system. In order to build the tape to theirspecifications, customers are provided with information to accessaccounting records so that they may process them before writing them totape.

In FIG. 22, the raw accounting data received by the accounting serverfrom the home or serving IWFs are processed and stored by the accountingserver. The processing done by the accounting server includes filtering,compression and correlation of the raw accounting data received from theIWF. A high availability file server using dual active/standbyprocessors and hot swappable RAID disks is used for buffering theaccounting data while it is transiting through the accounting server.

The accounting server delays processing of the raw accounting data untilan end system has terminated its session. When an end system terminatesits session, the accounting server processes the raw accounting datathat it has collected for the session and stores an accounting summaryrecord in a SQL database. The accounting summary record stored in theSQL data base points to an ASN. 1 encoded file. This file containsdetailed accounting information about the end system's session. The datastored in the accounting server is then transferred by the billing datatransfer agent to the customer's billing system. Alternatively, thewireless service provider may transfer the accounting data from the SQLdatabase and/or the ASN.1 encoded file to the billing system via a tape.The data base scheme and the format of the ASN.1 encoded file aredocumented and made available to customers for this purpose. If thevolume of processed accounting data stored in the accounting systemexceeds a high water mark, the accounting server generates an NMS alarm.This alarm is cleared when the volume of data stored in the accountingserver falls below a low water mark. The high and low water marks forgenerating and clearing the alarm are configurable. The accountingserver also generates an NMS alarm if the age of the stored accountingdata exceeds a configurable threshold. Conversely, the alarm is cleared,when the age of the accounting data falls below the threshold.

The subscriber directory is used to store information about subscribersand is located in the home network. The home registration serverconsults this directory during the registration phase to authenticateand register an end system. For each subscriber, the subscriberdirectory stores the following information.

1. User-Name. This field in the subscriber record will be in SMTP format(e.g., user@fqdn) where the user sub-field will identify the subscriberin his or her wireless home domain and the fqdn sub-field will identifythe wireless home domain of the subscriber. This field is sent by theend system in its registration request during the registration phase.This field is assigned by the wireless service provider to thesubscriber at the time of subscription to the network service. Thisfield is different than the user name field used in PPP.

2. Mobility Security Association. This field in the subscriber recordcontains the mobility security association between the subscriber andhis or her home network. As described above, a mobility securityassociation exists between each subscriber and its home registrationserver. The mobility security association defines a collection ofsecurity contexts. Each security context defines an authenticationalgorithm, an authentication mode, a shared secret, style of replayprotection and the type of encryption (including no encryption) to usebetween the end system and its home server. During registration, thehome registration server retrieves information about the subscriber'ssecurity context from the subscriber directory using the User-Name andthe security parameter index (SPI) supplied by the end system in itsregistration request. The information in the security context is usedfor enforcing authentication, encryption and replay protection duringthe session. The mobility security association is created by thewireless service provider at the time of subscription. It is up to thewireless service provider to permit the subscriber to modify thisassociation either by calling up a customer service representative or byletting subscribers access to a secure Web site. The Web site softwarewill export web pages which the wireless service provider may makeaccessible to subscribers from a secure web server. In this way,subscribers are able to view/modify the contents of the mobilitysecurity association in addition to other subscriber information thatthe service provider may make accessible.

3. Modem MAC Address. This field contains the MAC address of the modemowned by the subscriber. In addition to the shared secret, this field isused during registration to authenticate the user. It is possible toturn off MAC address based authentication on a per user basis. The MACaddress is communicated to the home registration server duringregistration.

4. Enable MAC Address Authentication. This field is used to determine ifMAC address based authentication is enabled or disabled. If enabled, thehome registration server checks the MAC address of the registering endsystem against this field to validate the end system's identity. Ifdisabled, then no checking is done.

5. Roaming Enabled Flag. If this field is set to enabled, then the endsystem is allowed to roam to foreign networks. If this field isdisabled, then the end system is not permitted to roam to foreignnetworks.

6. Roaming Domain List. This field is meaningful only if the RoamingEnabled Flag is set to enabled. This field contains a list of foreigndomains that the end system is allowed to roam to. When the contents ofthis list is null and the Roaming Enabled Flag is set to enabled, theend system is allowed to roam freely.

7. Service Enable/Disable Flag. This field may be set to disabled by thesystem administrator to disable service to a subscriber. If this fieldis disabled, then the subscriber is permitted to register for service.If the subscriber is registered and the value of this field is set todisabled, then the subscriber's end system is immediately disconnectedby the network.

8. Internet Service Provider Association. This field containsinformation about the subscriber's internet service provider. Thisinformation is used by the IWF during the PPP registration phase toperform authentication with the internet service provider on behalf ofthe end system and also to create a L2TP tunnel between the IWF and theinternet service provider's PPP server. This field contains the identityof the subscriber's ISP. The IWF uses this information to access the ISPdirectory for performing authentication and setting up the L2TP tunnelon behalf of the end system.

9. Subscriber's Name & Address Information. This field contains thesubscriber's name, address, phone, fax, e-mail address, etc.

The home domain directory (HDD) is used by the registration server toretrieve parameters about the end system to complete registration onbehalf of the end system. Using this information, the registrationserver determines if the end system is registering at home or if the endsystem is a roaming end system. In the former case, the registrationserver assumes the role of a home registration server and proceed withend system registration. In the latter case, the registration serverassumes the role of a foreign registration server and, acting as aRadius proxy, it forwards the request to the real home registrationserver whose identity it gets from this directory. For roaming endsystem, the parameters stored in the HDD include the IP address of thehome registration server, the home-foreign shared secret, thehome-serving IWF tunnel configuration etc. The HDD is located in theMSC.

The following information is stored in the HDD.

1. Home Domain Name. This field is used as the key to search the HDD foran entry that matches the fully qualified home domain name provided bythe end system in its registration request.

2. Proxy Registration Request. This field is used by the registrationserver to determine if it should act as a foreign registration serverand proxy the end system's registration request to the real homeregistration server.

3. Home Registration Server DNS Name. If the proxy registration requestflag is TRUE, this field is used to access the DNS name of the real homeregistration server. Otherwise, this field is ignored. The DNS name istranslated to an IP address by the foreign registration server. Theforeign registration server uses the IP address to relay the endsystem's registration request.

4. Foreign Domain Name. If the proxy registration request flag is TRUE,this field is used to identify the foreign domain name to the endsystem's home registration server. Otherwise, this field is ignored. Theforeign registration server uses this information to create the foreignserver machine id in SMTP format, for example, machine@fqdn. Thismachine id is sent to the home registration server by the foreignregistration server in the Radius-Access Request.

5. Shared Secret. If the proxy registration request flag is TRUE, theshared secret is used between the foreign and home registration serversto authenticate their identity with each other. Otherwise this field isignored.

6. Tunneling Protocol Parameters. This field is used to store parametersto configure the tunnels to provide service to the end system. For anend system at home, this includes information on tunnel parametersbetween the base station and the home IWF and from the home IWF to thePPP server. For a roaming end system, this includes tunneling parametersfrom the base station to the serving IWF and from the serving IWF to thehome IWF. At a minimum, for each tunnel, this field contains the type oftunneling protocol to use and any tunneling protocol specificparameters. For example, this field may contain the identifier for thetunneling protocol L2TP and any additional parameters required toconfigure the L2TP tunnel between the IWF and its peer.

7. Accounting Server Association. This field is used to storeinformation needed by the IWF to generate accounting data on behalf ofthe end system. It contains the name of the accounting protocol (e.g.RADIUS), the DNS name of the accounting server and additional parametersspecific to the accounting protocol like the UDP port number, the sharedsecret that the IWF must use in the Radius Accounting protocol, thefrequency of check-pointing, the seed for creating thesession/multi-session id, etc. The accounting server's DNS name istranslated to the accounting server's IP address, which is sent to theIWF.

For wireless service providers that have roaming agreements with eachother, the HDD is used for authentication and to complete theregistration process. If an end system roams from its home network to aforeign network, the foreign registration server in that networkconsults the HDD in its MSC to get information about the visiting endsystem's home registration and to authenticate the home network beforeit provides service to the visiting end system.

The software for home domain directory management preferably provides agraphical user interface (GUI) based HDD management interface for systemadministrators. Using this GUI, system administrators are able to viewand update entries in the HDD. This GUI is not intended for use byforeign wireless network service providers to perform remote updatesbased on roaming agreements. It is only intended for use by trustedpersonnel of the home wireless service provider operating behind firewalls.

The foreign domain directory (FDD) provides functionality that is thereverse of the home domain directory. The FDD is used by the homeregistration server to retrieve parameters about the foreignregistration server and the foreign network in order to authenticate theforeign network and create a tunnel between a serving IWF and a homeIWF. These parameters include the home-foreign shared secret, the homeIWF-serving IWF tunnel configuration, etc. The FDD is preferably locatedin the home registration server's MSC. The FDD is used by homeregistration servers for registering roaming end systems.

The following information will be stored in the FDD.

1. Foreign Domain Name. This field is used as the key to search the FDDfor an entry that matches the fully qualified domain name of the foreignregistration server relaying the registration request.

2. Shared Secret. This is the shared secret used between the foreign andhome registration servers to authenticate their identity mutually witheach other.

3. Home IWF-Serving IWF Tunneling Protocol Parameters. This field isused to store parameters to configure the tunnel between the home IWFand the serving IWF. At a minimum, this field contains the type oftunneling protocol to use and any tunneling protocol specificparameters. For example, this field may contain the identifier for thetunneling protocol L2TP and any additional parameters required toconfigure the L2TP tunnel between the serving IWF and the home IWF.

4. Accounting Server Association. This field is used to storeinformation needed by the home IWF to generate accounting data on behalfof the end system. It contains the name of the accounting protocol (e.g.RADIUS), the DNS name of the accounting server and additional parametersspecific to the accounting protocol like the UDP port number, the sharedsecret that the IWF must use in the Radius Accounting protocol, thefrequency of check-pointing, the seed for creating thesession/multi-session id, etc. The accounting server's DNS name istranslated to the accounting server's IP address, which is sent to theforeign agent.

For wireless service providers that have roaming agreements with eachother, the FDD is used to do authentication and complete theregistration process. If an end system roams from its home network to aforeign network, the registration server in the home network consultsthe FDD in its MSC to get information and authenticate the foreignnetwork providing service to the end system.

The foreign domain directory management software provides a graphicaluser interface (GUI) based FDD management interface for systemadministrators. Using this GUI, system administrators are able to viewand update entries in the FDD. This GUI is not intended for use byforeign wireless network service providers to perform remote updatesbased on roaming agreements. It is only intended for use by trustedpersonnel of the home wireless service provider operating behindfirewalls.

The internet service provider directory (ISPD) is used by the home IWFto manage connectivity with ISPs that have service agreements with thewireless service provider so that subscribers may access their ISPsusing the network. For each subscriber, the subscriber directory has anentry for the subscriber's ISP. This field points to an entry in theISPD. The home IWF uses this information to set up the connection to theISP on behalf of the subscriber.

The network architecture supports roaming. In order for roaming to workbetween wireless service providers, the architecture must support thesetting up of roaming agreements between wireless service providers.This implies two things: (1) updating system directories across wirelessservice providers and (2) settlement of bills between service providers.

In order to allow subscribers access to internet service providers, thearchitecture supports roaming agreements with internet serviceproviders. This implies that the architecture must be able to send datato and receive data from ISP PPP servers (i.e., that support industrystandard protocols like PPP, L2TP and Radius). It also implies that thearchitecture handles directory updates for ISP access and settlement ofbills with ISPs.

When roaming agreements are established between two wireless serviceproviders, both providers have to update their home and foreign domaindirectories in order to support authentication and registrationfunctions for end systems visiting their networks from the othernetwork. At a minimum, the architecture of the present embodimentsupports manual directory updates. When a roaming agreement isestablished between two wireless service providers, then the two partiesto the agreement exchange information for populating their home andforeign domain directories. The actual updates of the directories isdone manually by the personnel of the respective service providers. Iflater, the information in the home and foreign domain directories needsto be updated, the two parties to the agreement exchange the updatedinformation and then manually apply their updates to the directories.

In an alternative embodiment, the directory management softwareincorporates developing standards in the IETF to enable roaming betweeninternet service providers and to enable ISPs to automatically manageand discover roaming relationships. This makes manual directorymanagement no longer necessary. The network system automaticallypropagates roaming relationships, and discovers them, to authenticateand register visiting end systems.

At a minimum, the network architecture just processes and stores theaccounting data and makes the data available to the wireless serviceprovider's billing system. It is up to the billing system to handlesettlement of bills for roaming.

In an alternative embodiment, developing standards in the IETF to handledistribution of accounting records between internet service providersare incorporated into the network architecture to enable ISPs to dobilling settlement for roaming end systems.

The system software supports access to ISPs and private intranets bysupporting L2TP between the home IWF and the ISPs or intranet PPPserver. The internet service provider. directory contains informationuseful to the IWF for creating these tunnels. As access agreementsbetween the wireless service provider and internet service providers areput in place, this directory is updated manually by the wireless serviceprovider's personnel. Automatic updates and discovery of accessrelationships between the wireless service provider and internet serviceproviders are presently contemplated and implemented as the internetstandards evolve. While accessing an internet service provider, thesubscriber receives two bills—one from the wireless service provider forthe use of the wireless network and the second from the internet serviceprovider. Although common billing that combines both types of charges isnot handled by the minimum embodiment software, it is contemplated thatthe software will take advantage of internet standards for billingsettlement as they evolve so that subscribers may receive a common billbased on roaming agreements between the ISP and wireless serviceproviders.

The system includes a element management system for managing the networkelements. From the element manager, system administrators performconfiguration, performance and fault/alarm management functions. Theelement management applications run on top of a web browser. Using a webbrowser, system administrators manage the network from anywhere thatthey have TCP/IP access. The element manager also performs an agent rolefor a higher level manager. In this role it exports an SNMP MIB foralarm and fault monitoring.

A higher level SNMP manager is notified of alarm conditions via SNMPtraps. The higher level SNMP manager periodically polls the elementmanager's MIB for the health and status of the network. Systemmanagement personnel at the higher level manager are able to view anicon representation of the network and its current alarm state. Bypointing and clicking on the network element icon, systems managementpersonnel execute element management applications using a web browserand perform more detailed management functions.

Inside the network, management of the physical and logical networkelements is performed using a combination of the SNMP protocol andinternal management application programming interfaces. Applications inthe element manager use SNMP or other management APIs to perform networkmanagement functions.

Architecturally, the element management system includes two distinctsets of functional elements. The first set of functional elements,including the configuration data server, performance data monitor andhealth/status monitor and network element recovery software, executes onan HA server equipped with RAID disks. The second set of functionalelements, including the management applications, executes on adedicated, non-HA management system. Even if the element manager systembecomes non-operational, the network elements continue to be able to runand report alarms and even be able to recover from fault conditions.However, since all the management applications execute in the non-HAelement manager, if the element manager goes down, then recovery actionsrequiring human intervention are not possible until the element managerbecomes operational.

The wireless hubs (WHs) in the base stations are typically owned by awireless service provider (WSP), and they are connected to the WSP'sregistration server (RS) either via point-to-point links, intranets orthe Internet. The WSP's registration server is typically a softwaremodule executing on a processor to perform certain registrationfunctions. Inter-working function units (IWF units) are typicallysoftware modules executing on a processor to perform certain interfacingfunctions. IWF units are typically connected to the registration serversvia intranets/WAN, and the IWF units are typically owned by the WSP.However, the IWF units need not be located within the same LAN as theregistration servers. Typically, accounting and directory servers (alsosoftware modules executing on a processor) are connected to theregistration servers via a LAN in the service provider's Data Center(e.g., a center including one or more processors that hosts variousservers and other software modules). Traffic from the end system is thenrouted via a router (connected to the LAN) to the public Internet or toan ISP's intranet.

The registration server located in a foreign WSP's network is referredto as the foreign registration server (FRS), and the registration serverlocated in the end system's home network (where the mobile purchases itsservice) is referred to as the home registration server (HRS). Theinter-working function unit in the home network is referred to as thehome IWF while the inter-working function unit in the foreign network(i.e., the network the end system is visiting) is referred to as theserving IWF.

For fixed wireless service (i.e., a non-moving end system), an endsystem may register for service on the home network from the homenetwork (e.g., at home service) or from a foreign network (e.g., roamingservice). The end system receives an advertisement sent by an agent(e.g., an agent function implemented in software) in the wireless hubvia the access point. There are both MAC-layer registration as well asnetwork-layer registration to be accomplished. These may be combinedtogether for efficiency.

For end systems at home (FIG. 23), the network layer registration (likea local registration) make's known to the home registration server thewireless hub to which the end system is currently attached. An IWF inthe end system's home network will become the anchor or home IWF. Thus,PPP frames to and from the end system travel via the wireless hub to thehome IWF in the home network. If the end system is at home, the home IWFis connected to the wireless hub via an XTunnel protocol.

For roaming wireless service (FIG. 24), the foreign registration serverdetermines the identity of the home network of the roaming end systemduring the registration phase. Using this information, the foreignregistration server communicates with the home registration server toauthenticate and register the end system. The foreign registrationserver then assigns a serving IWF, and an I-XTunnel protocol connectionis established between the home IWF and the serving IWF for the roamingend system. The serving IWF relays frames between the wireless hub andthe home IWF. From the home IWF, data is sent to a PPP server (i.e.,point-to-point protocol server) which may reside in the same IWF.However, if the data is to go to a corporate intranet or an ISP'sintranet that has its own PPP server, the data is sent to the separatePPP server via the L2TP protocol. The separate server is typically ownedand operated by an Internet service provider who is different from thewireless service provider. For the duration of the session, thelocations of the home IWF and PPP server remain fixed. The MAC layerregistration can be combined with the network registration to economizeon the overhead of separate communications for MAC layer and networklayer registration; however, it may be advantageous to not combine theseregistration processes so that the WSP's equipment will be interoperablewith other wireless networks that supports pure IETF Mobile-IP.

Registration sets up three tables. Table 1 is associated with eachaccess point, and Table 1 identifies each connection (e.g., each endsystem) by a connection id (CID) and associates the connection id with aparticular wireless (WM) modem address (i.e., the address of the endsystem or end system). Table 2 is associated with each wireless hub(WH), and Table 2 associates each connection id with a correspondingwireless modem address, access point and XTunnel id (XID). Table 3 isassociated with each inter-working function (IWF), and Table 3associates each connection id with a corresponding wireless modemaddress, wireless hub address, XTunnel id and IP port (IP/port). Theentries described for these tables are described to include onlyrelevant entries that support the discussion of mobility management. Inreality, there are other important fields that need to be included aswell.

TABLE 1 Connection Table at AP CID WM C1 WM1 C2 WM1 C1 WM2

TABLE 2 Connection Table at WH CID WM AP XID C1 WM1 AP1 5 C2 WM1 AP1 5C1 WM2 AP1 6 C1 WM3 AP2 7

TABLE 3 Connection Table at IWF CID WM WH XID IP/Port C1 WM1 WH1 5IP1/P1 C2 WM1 WH1 5 IP1/P2 C1 WM2 WH1 6 IP2/P3 C1 WM3 WH1 7 IP3/P1 C5WM5 WH2 8 IP4/P1

The protocol stacks for dial-up users at home in a network as well asroaming users are illustrated in FIGS. 25-28. FIG. 25 depicts protocolstacks used for direct internet access by a fixed (i.e., non-moving) endsystem at home where a PPP protocol message terminates in the home IWF(typically collocated with the wireless hub) which relays message to andfrom an IP router and from there to the public internet. FIG. 26 depictsprotocol stacks used for remote intranet access (i.e., either privatecorporate nets or an ISP) by a fixed (i.e., non-moving) end system athome where a PPP protocol message is relayed through the home IWF(typically collocated with the wireless hub) to a PPP server of theprivate corporate intranet or ISP. FIG. 27 depicts protocol stacks usedfor direct internet access by a roaming but fixed (i.e., non-moving) ora moving end system where the PPP protocol terminates in the home IWF(typically located in a mobile switching center of the home network)which relays message to and from an IP router. In FIG. 27, note howmessage traffic passes through a serving IWF (typically collocated withthe wireless hub) in addition to the home IWF. FIG. 28 depicts protocolstacks used for remote intranet access (i.e., either private corporatenets or an ISP) by a roaming but fixed (i.e., non-moving) or a movingend system where a PPP protocol message is relayed through the home IWF(typically located in a mobile switching center of the home network) toa PPP server of the private corporate intranet or ISP. In FIG. 28, notehow message traffic passes through a serving IWF (typically collocatedwith the wireless hub) in addition to the home IWF. When the serving IWFand the wireless hub are co-located in the same nest of computers or areeven programmed into the same computer, it is not necessary to establisha tunnel using the XTunnel protocol between the serving IWF and thewireless hub.

Equivalent variations to these protocol stacks (e.g. the RLP can beterminated at the wireless hub rather than at the serving IWF or homeIWF for mobiles at home) are also envisioned. If the IWF is located farfrom the wireless hub, and the packets can potentially be carried over alossy IP network between the IWF and wireless hub, then it would bepreferred to terminate the RLP protocol at the wireless hub. Anothervariation is the Xtunnel between wireless hub and IWF need not be builton top of the UDP/IP. Xtunnels can be built using the Frame Relay/ATMlink layer. However, the use of UDP/IP makes it easier to move thewireless hub and IWF software from one network to another.

Furthermore, the PPP protocol can be terminated in a wireless modem andsent to one or more endsystems via an ethernet connection. Asillustrated in FIG. 29, the wireless modem 300 receives the PPP protocolinformation and encapsulates the PPP payload in an ethernet frame to betransported to at least one of the end systems 304 and 306 via theinternet connection 302.

DIX ethernet can be used for encapsulating the XWD MAC primitives butthe system is not limited thereto. The ethernet frame format for XWDcontrol frames is illustrated in FIG. 30. The ethernet header contains adestination address, a source address and an ethernet type field. Thedestination address field contains the ethernet address of the MACentity to which the primative is being sent. For MAC primitives invokedby the MAC user, this field will contain the ethernet address of the MACuser. For broadcast primitives, this address will be the ethernetbroadcast address. The source address field contains the ethernetaddress of the MAC entity invoking the primitive. The ethernet typefield contains the ethernet type for XWD. Possible values areXWD_Control for control frames and XWD_Data for data frames. Thesevalues must be different from all the ethernet type values that havebeen standardized and must be registered with the controlling authority.

The ethernet frame then has an XWD header field. The XWD header can be16 bits long and will only be present for XWD control frames. The fieldsare illustrated in FIG. 31. The ethernet frame also contains a protocolheader, a PPP payload field and a XWD MAC field. The header values forprimitives using ethernet encapsulation are illustrated in Table 4below.

Primitive Destination Source Ethernet XWD MAC Name Address Address TypePrimitive M_Discover.Req Broadcast or MAC User XWD_Control 0 unicast MACProvidider M_Discover.Cnf MAC User MAC Provider XWD_Control 1M_OpenSap.Req MAC Provider MAC User XWD_Control 2 M_OpenSap.Cnf MAC UserMAC Provider XWD_Control 3 M_CloseSap.Req MAC Provider MAC UserXWD_Control 4 M_CloseSap.Cnf MAC User MAC Provider XWD_Control 5M_EchoSap.Req MAC User MAC Provider XWD_Control 6 M_EchoSap.Cnf MACProvider MAC User XWD_Control 7 M_Connect.Req MAC Provider MAC User (endXWD_Control 8 (modem only) system only) M_Connect.Ind MAC User MACProvider XWD_Control 9 (wireless hub only) (AP only) M_Connect.Rsp MACProvider MAC User XWD_Control 10 (AP only) (wireless hub only)M_Connect.Cnf MAC User (end MAC Provider XWD_Control 11 system only)(modem only) M_Disconect.Req MAC Provider MAC User XWD_Control 12

In another alternative, the PPP protocol can be terminated in a wirelessrouter and then sent on to at least one end system connected to a localarea network (LAN). As illustrated in FIG. 32, the wireless router 350receives the PPP protocol information via the wireless modem 352. Therouter 354 receives the PPP information from the wireless modem 352 andsends the PPP information to at least one of the end systems 356, 358,360 via a LAN link 362.

Four types of handoff scenarios may occur, and they are labeled: (i)local mobility, (ii) micro mobility, (iii) macro mobility, and (iv)global mobility. In all four scenarios (in one embodiment of theinvention), a route optimization option is not considered so that thelocations of the home registration server and the ISP's PPP server donot change. In another embodiment of the system with route optimization,the ISP's PPP server may change. However, this aspect is discussedbelow. In addition, the locations of the foreign registration server andIWF do not change in the first three scenarios.

The proposed IETF Mobile IP standard requires that whenever an endsystem changes the IP subnet to which it is attached, it sends aregistration request message to a home agent in its home subnet. Thismessage carries a care-of address where the end system can be reached inthe new subnet. When traffic is sent, for example, from an ISP to an endsystem, the home agent intercepts the traffic that is bound for the endsystem as it arrives in the home subnet, and then forwards the trafficto the care-of address. The care-of address identifies a particularforeign agent in the foreign subnet. An end system's foreign agent canreside in the end system itself, or in a separate node that in turnforwards traffic to the end system (i.e., proxy registration agent).Mobile IP handoffs involve exchange of control messages between an endsystem's agent, the end system's home agent and potentially itscorresponding hosts (CHs) (with route optimization option).

The proposed IETF Mobile IP standard would find it difficult to meet thelatency and scalability goals for all movements in a large internetwork.However, the present hierarchical mobility management meets such goals.For small movements (e.g. a change of Access Points), only MAC-layerre-registrations are needed. For larger movements, network-layerre-registrations are performed. The present hierarchical mobilitymanagement is different from the flat-structure used in the IETFproposed Mobile-IP standard as well as the serving/anchor inter-workingfunction model used in cellular systems like CDPD (based on a standardsponsored by the Cellular Digital Packet Data forum).

As depicted in FIG. 33, the local mobility handoff handles end system(designated MN for mobile node) movement between APs that belong to thesame wireless hub. Thus, only MAC layer re-registration is required. Theend system receives a wireless hub advertisement from a new AP andresponds with a registration request addressed to the new AP.

The new AP (i.e., the one that receives the registration request fromthe end system) creates new entries in its connection table and relaysthe registration message to its wireless hub. In local mobilityhandoffs, the wireless hub does not change. The wireless hub recognizesthe end system's registration request as a MAC level registrationrequest, and it updates its connection table to reflect the connectionto the new AP. Then, the old AP deletes the connection entry from itsconnection table. There are at least three ways whereby the old AP candelete the old entries, namely (i) upon time out, (ii) upon receiving acopy of the relayed MAC layer association message from the new AP to thewireless hub (if this relay message is a broadcast message), and (iii)upon being informed by the wireless hub of the need to delete the entry.

As depicted in FIG. 34, the micro mobility handoff handles end system(designated MN for mobile node) movement between wireless hubs thatbelong to the same registration server and where the end system canstill be served by the existing serving IWF. When an advertisement isreceived from a new wireless hub (through a new AP), the end systemsends a message to request registration to the registration server. Theregistration request is relayed from the new AP to the new wireless hubto the registration server.

When the registration server determines that the existing IWF can stillbe used, the registration server sends a build XTunnel Request messageto request the existing IWF to build an XTunnel to the new wireless hub.Later, the registration server sends a tear down XTunnel request messageto request the existing IWF to tear down the existing XTunnel with theold wireless hub. The build and tear XTunnel Request messages can becombined into one message. A foreign registration server does notforward the registration message to the home registration server sincethere is no change of IWF, either the serving IWF or home IWF.

Upon receiving a positive build XTunnel reply and a positive tearXTunnel reply from IWF, the registration server sends a registrationreply to end system. As the registration reply reaches the new wirelesshub, the connection table at the new wireless hub is updated to reflectthe connection to the new AP. The new AP updates its MAC filter addresstable and connection table after receiving a message from the newwireless hub, and the registration reply is forwarded to the end system.

The registration server sends a release message to the old wireless hub.When the old wireless hub receives the release message, it updates itsconnection table and the MAC filter address table and connection tableof the old AP.

As depicted in FIG. 35, the macro mobility handoff case handles movementbetween wireless hubs that involves a change of the serving IWF in theforeign network, but it does not involve a change in the registrationserver. When an advertisement is received from a new wireless hub(through a new AP), the end system sends a message to request a networklayer registration to the registration server. The registration requestis relayed from the new AP to the new wireless hub to the registrationserver.

The registration server recognizes that it is a foreign registrationserver when the end system does not belong to the present registrationserver's network. This foreign registration server determines theidentity of the home registration server by using a request, preferablya Radius Access request (RA request), to the foreign directory server(like a big yellow pages) and then assigns an appropriate IWF to be theserving IWF, and it forwards a registration request to the homeregistration server, preferably through a Radius Access request (RArequest), informing the home registration server of the newly selectedIWF.

The home registration server authenticates the registration request byusing a request, preferably a Radius Access request (RA request), to thehome directory server. Upon authenticating the request and determiningthat the existing home IWF can still be used, the home registrationserver instructs the home IWF to build a new I-XTunnel to the newlyassigned serving IWF and to tear down the existing I-XTunnel to the oldserving IWF. Upon receiving a positive build I-XTunnel reply and apositive tear I-XTunnel reply from the home IWF, the home registrationserver sends a registration reply to the foreign registration server.

The foreign registration server then instructs the newly assigned IWF tobuild an XTunnel to the new wireless hub. Upon receiving a positivebuild XTunnel reply, the foreign registration server instructs the oldIWF to tear down the XTunnel to the old wireless hub. Upon receiving apositive build XTunnel reply and a positive tear XTunnel reply, theforeign registration server sends a registration reply to end system.

As the registration reply reaches the new wireless hub, the connectiontable at the new wireless hub is updated to reflect the connection tothe new AP. The new AP updates its MAC filter address table andconnection table after receiving a message from the new wireless hub,and the registration reply is forwarded to the end system.

The registration server sends a release message to the old wireless hub.When the old wireless hub receives the release message, it updates itsconnection table and the MAC filter address table, and the old APupdates its MAC filter address table and connection table afterreceiving a message from the old wireless hub.

The global mobility handoff case handles movement between wireless hubsthat involves a change of registration servers. FIG. 36 depicts a globalmobility handoff where the home IWF does not change, and FIG. 37 depictsa global mobility handoff where the home IWF changes. When anadvertisement is received from a new wireless hub (through a new AP) ina new foreign network, the end system sends a message to request anetwork layer registration to the new foreign registration server. Theregistration request is relayed from the new AP to the new wireless hubto the new foreign registration server.

The registration server recognizes that it is a new foreign registrationserver when the end system does not belong to the present registrationserver's network. This foreign registration server determines theidentity of the home registration server by using a request, preferablya Radius Access request (RA request), to the foreign directory server(like a big yellow pages) and then assigns an appropriate IWF to be theserving IWF, and it forwards the registration request to the homeregistration server, preferably through a Radius Access request (RArequest), informing the home registration server of the newly selectedIWF.

The home registration server authenticates the registration request byusing a request, preferably a Radius Access request (RA request), to thehome directory server. Upon authenticating the request and determiningthat the existing home IWF can still be used (FIG. 36), the homeregistration server instructs the home IWF to build a new I-XTunnel tothe serving IWF newly assigned by the new foreign registration server.The home registration server also sends a de-registration message to theold foreign registration server and instructs the home IWF to tear downthe existing I-XTunnel to the existing serving IWF of the old foreignnetwork. Upon receiving a positive build I-XTunnel reply and a positivetear I-XTunnel reply from the home IWF, the home registration serversends a registration reply to the new foreign registration server.

The new foreign registration server then instructs the newly assignedIWF to build an XTunnel to the new wireless hub. Upon receiving apositive build XTunnel reply, the foreign registration server sends aregistration reply to end system. As the registration reply reaches thenew wireless hub, the connection table at the new wireless hub isupdated to reflect the connection to the new AP. The new AP updates itsMAC filter address table and connection table after receiving a messagefrom the new wireless hub, and the registration reply is forwarded tothe end system.

The old foreign registration server instructs the old IWF to tear downthe XTunnel to the old wireless hub. Upon receiving a positive tearXTunnel reply or contemporaneously with the tear down XTunnel request,the old foreign registration server sends a release message to the oldwireless hub. When the old wireless hub receives the release message, itupdates its connection table and the MAC filter address table, and theold AP updates its MAC filter address table and connection table afterreceiving a message from the old wireless hub.

Alternatively, after the home registration server authenticates theregistration request from the new foreign registration server anddetermines that the existing home IWF cannot be used (FIG. 37), the homeregistration server chooses a new home IWF and instructs the new homeIWF to build a new level 2 tunnel protocol tunnel (L2TP tunnel) to thepresent PPP server (e.g., the PPP server in a connected ISP intranet).Then, the home registration server instructs the old home IWF totransfer its L2TP tunnel traffic to the new home IWF.

Then the home registration server instructs the new home IWF to build anew I-XTunnel to the serving IWF newly assigned by the new foreignregistration server. The home registration server also sends ade-registration message to the old foreign registration server andinstructs the home IWF to tear down the existing I-XTunnel to theexisting serving IWF of the old foreign network. Upon receiving apositive build I-XTunnel reply and a positive tear I-XTunnel reply fromthe home IWF, the home registration server sends a registration reply tothe new foreign registration server.

The new foreign registration server then instructs the newly assignedIWF to build an XTunnel to the new wireless hub. Upon receiving apositive build XTunnel reply, the foreign registration server sends aregistration reply to end system. As the registration reply reaches thenew wireless hub, the connection table at the new wireless hub isupdated to reflect the connection to the new AP. The new AP updates itsMAC filter address table and connection table after receiving a messagefrom the new wireless hub, and the registration reply is forwarded tothe end system.

The old foreign registration server instructs the old IWF to tear downthe XTunnel to the old wireless hub. Upon receiving a positive tearXTunnel reply or contemporaneously with the tear down XTunnel request,the old foreign registration server sends a release message to the oldwireless hub. When the old wireless hub receives the release message, itupdates its connection table and the MAC filter address table, and theold AP updates its MAC filter address table and connection table afterreceiving a message from the old wireless hub.

End systems constructed according to the present system interoperatewith networks constructed according to the proposed IETF Mobile-IPstandards, and end systems constructed according to the proposed IETFMobile-IP standards interoperate with networks constructed according tothe present invention.

Differences between the present system and the IETF Mobile-IP (RFC 2002,a standards document) include:

(i) The present systemists a hierarchical concept for mobilitymanagement rather than a flat structure as in the proposed IETFMobile-IP standard. Small mobility within a small area does not resultin a network level registration. Micro mobility involves setting up of anew Xtunnel and tearing down of an existing Xtunnel. Global mobility, atthe minimum, involves setting up of a new I-XTunnel and tearing down ofan existing I-Xtunnel apart from the setting up/tearing down of XTunnel.Global mobility sometimes also involves setting up a new L2TP Tunnel andtransferring of L2TP state from the existing L2TP Tunnel to the new L2TPTunnel.

(ii) In the present invention, a user name plus a realm is used toidentify a remote dial-up user rather than a fixed home address as inthe case of the proposed IETF Mobile-IP standard.

(iii) In the present invention, registration and routing functions arecarried out by separate entities. The two functions are carried out bythe home agent in the proposed IETF Mobile IP standard, and bothfunctions are carried out by the foreign agent in the proposed IEFTMobile IP standard. In contrast, in an embodiment of the presentinvention, registration is carried out in the registration server androuting functions are carried out by both the home and foreign IWF andthe wireless hub (also referred to as the access hub).

(iv) The present system utilizes three tunnels per PPP session. TheXTunnel is more of a link-layer tunnel between the wireless hub and theserving IWF. The I-XTunnel between the serving IWF and the home IWF ismore like the tunnel between home and foreign agents in the proposedIETF Mobile-IP standard. But it also has additional capabilities beyondthe tunnels proposed by the Mobile-IP standard. The L2TP tunnel is usedonly when home IWF is not a PPP server. The number of these tunnels maybe reduced by combining some functions in the same nodes as describedearlier.

(v) In the present invention, wireless registration occurs before PPPsession starts while in the proposed IETF Mobile-IP standard, Mobile-IPregistration occurs after PPP session enters into the open state.

(vi) In the present invention, the network entity that advertises theagent advertisement (i.e., the wireless hub) is not on a direct link tothe end systems whereas for the proposed IETF Mobile-IP standard, theagent advertisement must have a TTL of 1 which means that the endsystems have a direct link with the foreign agent. In addition, theagent advertisement in the present systems not an extension to the ICMProuter advertisements as in the proposed IETF Mobile-IP standard.

End systems in the present invention, should support agent solicitation.When an end system in the present system visits a network which issupporting the proposed IETF Mobile-IP standard, it waits until it hearsan agent advertisement. If it does not receive an agent advertisementwithin a reasonable time frame, it broadcasts an agent solicitation.

In the present invention, network operators may negotiate with othernetworks that support the proposed IETF Mobile-IP standard such thathome addresses can be assigned to the end systems of the present systemthat wish to use other networks. When the end system of the presentsystem receives the agent advertisement, it can determine that thenetwork it is visiting is not an a network according to the presentsystem and hence uses the assigned home address to register.

For networks supporting the proposed IETF Mobile-IP standard, the PPPsession starts before Mobile-IP registration, and the PPP server isassumed to be collocated with the foreign agent in such networks. In oneembodiment, an SNAP header is used to encapsulate PPP frames in the MACframes of the present system(in a manner similar to Ethernet format),and the foreign agent interprets this format as a proprietary PPP formatover Ethernet encapsulation. Thus, the end system of the present systemand its PPP peer can enter into an open state before the foreign agentstarts transmitting an agent advertisement, and the end system of thepresent system can register.

To allow end systems supporting the proposed IETF Mobile-IP standard towork in networks of the type of the present invention, such mobiles areat least capable of performing similar MAC layer registrations. Bymaking the agent advertisement message format similar to the proposedMobile-IP standard agent advertisement message format, a visiting endsystem can interpret the agent advertisement and register with awireless hub. In the present invention, registration request and replymessages are similar to the proposed IETF Mobile-IP standardregistration request and reply messages (without any unnecessaryextensions) so that the rest of the mobility management features of thepresent system are transparent to the visiting end systems.

Since end systems supporting the proposed IETF Mobile-IP standard expecta PPP session to start before Mobile-IP registration, an optionalfeature in wireless hubs of the present system starts to interpret PPPLCP, NCP packets after MAC-layer registrations.

To avoid losing traffic during handoffs, the mobility management of thepresent systemists the make before break concept. For local mobility, amake before break connection is achieved by turning the MAC-layerregistration message relayed by the new AP to the wireless hub into abroadcast message. That way, the old AP can hear about the newregistration and forward packets destined for the end system that havenot been transmitted to the new AP.

For micro mobility, information about the new wireless hub is includedin the Tear XTunnel message exchanged between the serving IWF and theold WH. That way, the old wireless hub can forward buffered packets tothe new wireless hub upon hearing a TearXTunnel message from the servingIWF. Alternatively, the RLP layer at the IWF knows the sequence numberthat has been acknowledged by the old wireless hub so far.

At the same time, the IWF knows the current send sequence number of thelatest packet sent to the old wireless hub. Therefore, the IWF canforward those packets that are ordered in between these two numbers tothe new wireless hub before sending newer packets to the new wirelesshub. The RLP layer is assumed to be able to filter duplicate packet. Thesecond approach is probably preferable to the first approach for the oldwireless hub may not be able to communicate with one another directly.

For macro mobility, the old serving IWF can forward packets to the newserving IWF, in addition to the packet forwarding done from the oldwireless hub to the new wireless. All we need to do is to forward thenew serving IWF identity to the new serving IWF in the tear downI-XTunnel message. Another way to achieve the same result is to let thehome IWF forward the missing packets to the new serving IWF rather thanasking the old serving IWF to do the job since the home IWF knows theI-XTunnel sequence number last acknowledged by the old serving IWF andthe current I-XTunnel sequence number sent by the home IWF.

The method of estimating how much buffer should be allocated per mobileper AP per wireless hub per IWF such that the traffic loss betweenhandoffs can be minimized is to let the end system for the AP for thewireless hub for the IWF estimate the packet arrival rate and thehandoff time. This information is passed to the old AP of the wirelesshub of the IWF to determine how much traffic should be transferred tothe new AP of the wireless hub of the IWF, respectively, upon handoffs.

To achieve route optimization in the present invention, the end systemchooses the PPP server closest to the serving IWF. Without routeoptimization, excessive transport delays and physical line usage may beexperienced.

For example, an end system subscribed to a home network in New York Citymay roam to Hong Kong. To establish a link to a Hong Kong ISP, the endsystem would have a serving IWF established in a wireless hub in HongKong and a home IWF established in the home network in New York City. Amessage would then be routed from the end system (roamed to Hong Kong)through the serving IWF (in Hong Kong) and through the home IWF (in NewYork City) and back to the Hong Kong ISP.

A preferred approach is to connect from the serving IWF (in Hong Kong)directly to the Hong Kong ISP. The serving IWF acts like the home IWF.In this embodiment, roaming agreements exist between the home andforeign wireless providers. In addition, the various accounting/billingsystems communicate with one another automatically such that billinginformation is shared. Accounting and billing information exchange maybe implemented using standards such as the standard proposed by theROAMOPS working group of the IETF.

However, the serving IWF must still discover the closest PPP server(e.g., the Hong Kong ISP). In the present embodiment, the foreignregistration server learns of the end system's desire to connect to aPPP server (e.g., a Hong Kong ISP) when it receives a registrationrequest from the end system. When the foreign registration serverdetermines that the serving IWF is closer to the desired PPP server(e.g., the Hong Kong ISP) than the home IWF is, the foreign registrationserver instructs the serving IWF to establish an L2TP tunnel to itsnearest PPP server (in contrast to the PPP server closest to the homeregistration server and home IWF). Then, the foreign registration serverinforms the home registration server that the end system is being servedby the serving IWF and the foreign PPP.

In an alternative embodiment, the foreign registration server determinesthat the serving IWF is closer to the desired PPP server (e.g., the HongKong ISP) than the home IWF is, when it receives a registration requestfrom the end system. The foreign registration server relays theregistration request message to the home registration server with anattached message indicating the serving IWF information and anotification that route optimization is preferred. At the same time, theforeign registration server instructs the serving IWF to establish anL2TP tunnel to the PPP server. Upon approving the registration request,the home registration server instructs the home IWF to transfer the L2TPstate to the foreign IWF.

Having described preferred embodiments of a novel network architecturewith wireless end users able to roam (which are intended to beillustrative and not limiting), it is noted that modifications andvariations can be made by persons skilled in the art in light of theabove teachings. For example, connection links described herein may makereference to known connection protocols (e.g., IP, TCP/IP, L2TP, IEEE802.3, etc.); however, the system contemplates other connectionprotocols in the connections links that provide the same or similar datadelivery capabilities. Acting agents in the above described embodimentsmay be in the form of software controlled processors or may be otherform of controls (e.g., programmable logic arrays, etc.). Acting agentsmay be grouped as described above or grouped otherwise in keeping withthe connection teachings described herein and subject to security andauthentication teachings as described herein. Furthermore, a singleaccess point, access hub (i.e., wireless hub) or inter-working functionunit (IWF unit) may provide multi-channel capability. Thus, a singleaccess point or access hub or IWF unit may act on traffic from multipleend systems, and what is described herein as separate access points,access hubs or IWF units contemplates equivalence with a singlemulti-channel access point, access hub or IWF unit. It is therefore tobe understood that changes may be made in the particular embodiments ofthe system disclosed which are within the scope and spirit of thesystems defined by the appended claims.

Having thus described the system with the details and particularityrequired by the patent laws, what is claimed and desired protected byLetters Patent is set forth in the appended claims:

What is claimed is:
 1. A coupled data network comprising: a foreignnetwork that includes a foreign mobile switching center and a foreignbase station linked together using an XTunnel protocol, the foreignmobile switching center including a serving registration server, theforeign base station including a foreign access hub, the foreign accesshub including a proxy registration agent for discovering a point ofattachment to the network; a home network that includes a home mobileswitching center with a home registration server; and a first end systemsubscribed to the home network and operating within the foreign network,the end system including an end registration agent, the end registrationagent being coupled to the proxy registration agent, the proxyregistration agent being coupled to the serving registration serverusing the XTunnel protocol, the serving registration server beingdirectly coupled to the home registration server using an XTunnelprotocol.
 2. The network of claim 1, wherein the home registrationserver includes a module to authenticate that the foreign network isauthorized to host the first end system.
 3. The network of claim 1,wherein the home registration server includes a module to authenticatethat the first end system is authorized to receive services of the homenetwork.
 4. The network of claim 1, wherein the serving registrationserver includes a module to authenticate that the first end system is asubscriber of the home network.
 5. The network of claim 1, wherein: thehome registration server includes a module to authenticate that theforeign network is authorized to host the first end system; the homeregistration server includes a module to authenticate that the first endsystem is authorized to receive services of the home network; and theserving registration server includes a module to authenticate that thefirst end system is a subscriber of the home network.
 6. The network ofclaim 1, wherein: the foreign access hub including a first servinginter-working function, said home network further comprises a first homeinter-working function, and a first message being transportable betweenthe first end system and a first communications server directly throughthe first home inter-working function and through the first servinginter-working function of the foreign access hub in the foreign basestation.
 7. The network of claim 6, wherein the first message istransportable from the first end system through the first homeinter-working function to the first communications server.
 8. Thenetwork of claim 6, wherein the first end system includes a wirelessmodem coupleable to the foreign access hub.
 9. The network of claim 6,wherein the first home inter-working function is included in the homemobile switching center.
 10. The network of claim 6, further comprising:a second end system subscribed to the home network and operating as afixed end system within the home network; and a home base station thatincludes a home access hub with a second home inter-working function, asecond message being transportable between the second end system and asecond communications server through the second home inter-workingfunction.
 11. The network of claim 6, further comprising: a second endsystem subscribed to the home network and operating as a mobile endsystem within the home network; the home mobile switching center havinga second home inter-working function, the first home inter-workingfunction being included in the home mobile switching center; and a homebase station that includes a home access hub with a second servinginter-working function, a second message being transportable between thesecond end system and a second communications server through the secondserving inter-working function and through the second home inter-workingfunction.
 12. The network of claim 6, wherein the first homeinter-working function includes a home accounting collection module tocollect accounting data on message traffic transported through the firsthome inter-working function.
 13. The network of claim 12, wherein: thehome mobile switching center includes a home accounting server; and thehome accounting collection module includes a sub-module to periodicallysend accounting reports to a home accounting server.
 14. The network ofclaim 13, wherein: the home network further includes a home billingprocessor; and the home accounting server includes a module to sendaccounting reports to the home billing processor, the home billingprocessor including a module to prepare customer bills based on theaccounting reports from the home accounting server.
 15. The network ofclaim 14, wherein: the foreign network further includes a foreignaccounting server and a foreign billing processor; the first servinginter-working function includes a foreign accounting collection moduleto collect accounting data on message traffic transported through thefirst serving inter-working function, the foreign accounting collectionmodule including a sub-module to periodically send accounting reports tothe foreign accounting server, the foreign accounting server including amodule to send accounting reports to the foreign billing processor, theforeign billing processor including a module to send accounting reportsto the home billing processor, the home billing processor including amodule to prepare customer bills based on the accounting reports fromthe foreign billing processor.
 16. The network of claim 6, wherein: thehome network further includes a home billing processor; the foreignnetwork further includes a foreign accounting server and a foreignbilling processor; the first serving inter-working function includes aforeign accounting collection module to collect accounting data onmessage traffic transported through the first serving inter-workingfunction, the foreign accounting collection module including asub-module to periodically send accounting reports to the foreignaccounting server, the foreign accounting server including a module tosend accounting reports to the foreign billing processor, the foreignbilling processor including a module to send accounting reports to thehome billing processor, the home billing processor including a module toprepare customer bills based on the accounting reports from the foreignbilling processor.
 17. The network of claim 1, wherein: the foreignaccess hub including a serving inter-working function, the servinginter-working function including a foreign accounting collection module;said home mobile switching center further comprising a homeinter-working function, the home inter-working function including a homeaccounting collection module; and said first end system subscribing tothe wireless data network and coupleable to the foreign access hub, thehome and serving accounting collection modules collecting accountingdata on message traffic transported between the first end system and acommunications server through the home inter-working function andthrough the serving inter-working function.
 18. The network of claim 17,wherein the home accounting collection module includes a sub-module tocollect accounting data on message traffic transported from the firstend system through the home inter-working function to the communicationsserver.
 19. The network of claim 17, wherein: the foreign mobileswitching center includes a foreign accounting server; and the foreignaccounting collection module includes a sub-module to periodically sendaccounting reports to the foreign accounting server.
 20. The network ofclaim 17, wherein: the home mobile switching center includes a homeaccounting server; the home accounting collection module includes asub-module to periodically send accounting reports to the homeaccounting server.
 21. The network of claim 20, wherein: the homenetwork further includes a home billing processor, and the homeaccounting server includes a module to send accounting reports to thehome billing processor, the home billing processor including a module,to prepare customer bills based on the accounting reports from the homeaccounting server.
 22. The network of claim 21, wherein: the foreign,network further includes a foreign accounting server and a foreignbilling processor; the foreign accounting collection module includes asub-module to collect accounting data on message traffic transportedthrough the first serving inter-working function, the foreign accountingcollection module further including a sub-module to periodically sendaccounting reports to the foreign accounting server, the foreignaccounting server including a module to send accounting reports to theforeign billing processor, the foreign billing processor including amodule to send accounting reports to the home billing processor, thehome billing processor including a module to prepare customer billsbased on the accounting reports from the foreign billing processor. 23.The network of claim 17, wherein: the foreign network further includes aforeign accounting server and a foreign billing processor; the foreignaccounting collection module includes a sub-module to collect accountingdata on message traffic transported through the first servinginter-working function, the foreign accounting collection module furtherincluding a sub-module to periodically send accounting reports to theforeign accounting server, the foreign accounting server including amodule to send accounting reports to the foreign billing processor, theforeign billing processor including a module to send accounting reportsto the home billing processor, the home billing processor including amodule to prepare customer bills based on the accounting reports fromthe foreign billing processor.
 24. The network of claim 17, wherein: theforeign mobile switching center includes a foreign accounting server;the home mobile switching center includes a home accounting server; theforeign accounting collection module includes a sub-module toperiodically send accounting reports to a foreign accounting server; andthe home accounting collection module includes a sub-module toperiodically send accounting, reports to a home accounting server. 25.The network of claim 1, wherein the foreign access hub further includesa serving inter-working function, the home mobile switching centerincluding a home inter-working function; and a message beingtransportable between the first end system and the home inter-workingfunction through the serving inter-working function using a protocolthat ensures in sequence delivery of data packets.
 26. A data networkcoupled to a foreign network that includes a foreign mobile switchingcenter and a foreign base station linked together using an XTunnelprotocol, the foreign mobile switching center including a servingregistration server, the foreign base station including a foreign accesshub, the foreign access hub including a proxy registration agent fordiscovering a point of attachment to the network, the data networkcomprising: a home network that includes a home mobile switching centerwith a home registration server; a first mobile end system subscribed tothe home network and operating within the foreign network, the firstmobile end system including an end registration agent, the endregistration agent being coupled to the proxy registration agent, theproxy registration agent being coupled to the serving registrationserver, the serving registration server being directly coupled to thehome registration server using an XTunnel protocol.
 27. The network ofclaim 26, wherein the home registration server includes a module toauthenticate that the foreign network is authorized to host the firstend system.
 28. The network of claim 26, wherein the home registrationserver includes a module to authenticate that the first end system isauthorized to receive services of the home network.
 29. The network ofclaim 26, wherein: the home network includes a first home inter-workingfunction; and a first message being transportable between the first endsystem and a fast communications server through the I first homeinter-working function and through a first serving inter-workingfunction of the foreign access hub in the foreign base station.
 30. Thenetwork of claim 29, wherein the first message is transportable from thefirst end system through the first home inter-working function to thefirst communications server.
 31. The network of claim 29, wherein thefirst home inter-working function is included in the home mobileswitching center.
 32. The network of claim 29, further comprising: asecond end system subscribed to the home network and operating as afixed end system within the home network; and a home base station thatincludes a home access hub with a second home inter-working function, asecond message being transportable between the second end system and asecond communications server through the second home inter-workingfunction.
 33. The network of claim 29, further comprising: a second endsystem subscribed to the home network and operating as a mobile endsystem within the home network; the home mobile switching center havinga second home inter-working function, the first home inter-workingfunction being included in the home mobile switching center; and a homebase station that includes a home access hub with a second servinginter-working function, a second message being transportable between thesecond end system and a second communications server through the secondserving inter-working function and through the second home inter-workingfunction.
 34. The network of claim 29, wherein the first homeinter-working function includes a home accounting collection module, tocollect accounting data on message traffic transported through the firsthome inter-working function.
 35. The network of claim 34, wherein: thehome mobile switching center that includes a home accounting server; andthe home accounting collection module includes a sub-module toperiodically send accounting reports to a home accounting server. 36.The network of claim 35, wherein: the home network further includes abilling processor; and the home accounting server includes a module tosend accounting reports to the billing processor, the billing processorincluding a module to prepare customer bills based on the accountingreports from the home accounting server.
 37. The network of claim 36,wherein: the foreign network further includes a foreign accountingserver and a foreign billing processor; the first serving inter-workingfunction includes a foreign accounting collection module to collectaccounting data on message traffic transported through the first servinginter-working function, the foreign accounting collection moduleincluding a sub-module to periodically send accounting reports to theforeign accounting server, the foreign accounting server including amodule to send accounting reports to the foreign billing processor, theforeign billing processor including a module to send accounting reportsto the home billing processor, the home billing processor including amodule to prepare customer bills, based on the accounting reports, fromthe foreign billing processor.
 38. The network of claim 29, wherein: thehome network further includes a home billing processor; the foreignnetwork further includes a foreign accounting server and a foreignbilling processor; the first serving inter-working function includes aforeign accounting collection module to collect accounting data onmessage traffic transported through the first serving inter-workingfunction, the foreign accounting collection module including asub-module to periodically send accounting reports to the foreignaccounting server, the foreign accounting server including a module tosend accounting reports to the foreign billing processor, the foreignbilling processor including a module to send accounting reports to thehome billing processor, the home billing processor including a module toprepare customer bills based on the accounting reports from the foreignbilling processor.
 39. The network of claim 26, wherein the foreignaccess hub includes a serving inter-working function, the servinginter-working function including a serving accounting collection module;the home mobile switching center further comprising a home inter workingfunction, the home inter-working function including a home accountingcollection module; and the first end system subscribing to the wirelessdata network and coupleable to the foreign access hub, the home andserving accounting collection modules collecting accounting data onmessage traffic transported between the first end system and acommunications server through the home inter-working function andthrough the serving inter-working function.
 40. The network of claim 39,wherein the home accounting collection module includes a sub-module tocollect accounting dam on message traffic transported from the first endsystem through the home inter-working function to the communicationsserver.
 41. The network of claim 39, wherein: the home mobile switchingcenter includes a home accounting server; the home accounting collectionmodule includes a sub-module, to periodically send accounting reports tothe home accounting server.
 42. The network of claim 41, wherein: thehome network further includes a home billing processor; and the homeaccounting server includes a module to send accounting reports to thehome billing processor; the home billing processor including a module toprepare customer bills based on the accounting reports from the homeaccounting server.
 43. The network of claim 42, wherein: the foreignnetwork further includes a foreign accounting server and a foreignbilling processor; the foreign accounting collection includes asub-module to collect accounting data on message traffic transportedthrough the first serving inter-working function, the foreign accountingcollection module further including a sub-module to periodically sendaccounting reports to the foreign accounting server, the foreignaccounting server including a module to send accounting reports to theforeign billing processor, the foreign billing processor including amodule to send accounting reports to the home billing processor, thehome billing processor including a module to prepare customer billsbased on the accounting reports from the foreign billing processor. 44.The network of claim 39, wherein: the foreign network further includes aforeign accounting server and a foreign billing processor; the foreignaccounting collection module includes a sub-module to collect accountingdata on message traffic transported through the first servinginter-working function, the foreign accounting collection module furtherincluding a sub-module to periodically send accounting reports to theforeign accounting server, the foreign accounting server including amodule to send accounting reports to the foreign billing processor, theforeign billing processor including a module to send accounting reportsto the home billing processor, the home billing processor including amodule to prepare customer bills based on the accounting reports fromthe foreign billing processor.
 45. The network of claim 39, wherein: theforeign mobile switching center includes a foreign accounting server;the home mobile switching center includes a home accounting server; theforeign accounting collection module includes a sub-module toperiodically send accounting reports to a foreign accounting server; andthe home accounting collection module includes a sub-module toperiodically send accounting reports to a home accounting server. 46.The network of claim 26, wherein the foreign access hub includes aserving inter-working function, the home mobile switching centerincluding a home inter-working function; and a message beingtransportable between the first end system and the home inter-workingfunction through the serving inter-working function using a protocolthat ensures in sequence delivery of data packets.
 47. A coupled datanetwork comprising: a foreign network that includes a foreign mobileswitching center and a foreign base station linked together using anXTunnel protocol, the foreign mobile switching center including aserving registration server, the foreign base station including aforeign access hub, the foreign access hub including a proxyregistration agent for discovering a point of attachment to the network;and a home network that includes a home mobile switching center with ahome registration server; said home network having a first end systemsubscribed to the home network and operating within the foreign network,said proxy registration agent receiving a request for mobile servicefrom an end registration agent of the first end system, the proxyregistration agent being coupled to the serving registration serverusing the XTunnel protocol, the serving registration server beingdirectly coupled to the home registration server using an XTunnelprotocol.
 48. A data network coupled to a foreign network that includesa foreign mobile switching center and a foreign base station linkedtogether using an XTunnel protocol, the foreign mobile switching centerincluding a serving registration server, the foreign base stationincluding a foreign access hub, the foreign access hub including a proxyregistration agent for discovering a point of attachment to the network,the data network comprising: a home network that includes a home mobileswitching center with a home registration server; said home networkhaving a first mobile end system subscribed to the home network andoperating within the foreign network; said home registration serverbeing directly to a serving registration server using an XTunnelprotocol, the serving registration server being directly coupled to theproxy registrations agent which receives a request for mobile servicefrom the first mobile end system.
 49. A coupled data network,comprising: a foreign network that includes a foreign mobile switchingcenter and a foreign base station linked together using an XTunnelprotocol, the foreign mobile switching center including a servingregistration server, the foreign base station including a foreign accesshub, the foreign access hub including a proxy registration agent fordiscovering a point of attachment to the data network, said foreignnetwork operating with a first end system; said proxy registration agentreceiving a request for mobile service from an end registration agent ofthe first end system, the proxy registration agent being directlycoupled to the serving registration server using the XTunnel protocol,the serving registration server being directly coupled to a homeregistration server in a home network using the XTunnel protocol.